[cfe-dev] gcc incompatibility
eli.friedman at gmail.com
Thu Aug 28 11:47:34 PDT 2008
On Thu, Aug 28, 2008 at 11:32 AM, Nico Weber <nicolasweber at gmx.de> wrote:
> 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
> By the way, what does `[*]` mean?
This is similar to http://llvm.org/bugs/show_bug.cgi?id=2361; roughly,
[*] is an incomplete VLA type.
More information about the cfe-dev