[cfe-dev] gcc incompatibility

Nico Weber nicolasweber at gmx.de
Thu Aug 28 11:32:05 PDT 2008


Hi,

here's a gcc incompatibility:

clangtut nico$ cat test.c
int t[*];
clangtut nico$ clang test.c
clangtut nico$ gcc test.c
test.c:1: error: ‘[*]’ not allowed in other than function prototype  
scope

By the way, what does `[*]` mean?

Nico



More information about the cfe-dev mailing list