[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] Possible bug in tcc
From: |
Robert Clausecker |
Subject: |
[Tinycc-devel] Possible bug in tcc |
Date: |
Tue, 01 Nov 2011 19:25:36 +0100 |
Hello all!
It seems that I discovered a bug in tcc. ANSI C allows declaration of
prototypes containing function pointers like this:
void traverse(mystruct_t*, void(mycontent_t*));
tcc currently rejects this giving an error "')' expected". This
equivalent prototype works:
void traverse(mystruct_t*,void(*)(mycontent_t*));
Is this a bug or a feature?
Robert Clausecker
- [Tinycc-devel] Possible bug in tcc,
Robert Clausecker <=