------- Comment #2 from joseph at codesourcery dot com 2006-09-19 11:10 ------- Subject: Re: New: Strictly conforming code rejected
On Mon, 18 Sep 2006, neil at gcc dot gnu dot org wrote: > Compile the following with -std=c99 -pedantic-errors > > void f(unsigned int [*]); > > foo.c:1: error: '[*]' not allowed in other than a declaration As the diagnostic indicates, "unsigned int [*]" is not a declaration with function prototype scope but a type name. Feel free to submit a DR regarding the exact meaning of "can only be used in declarations with function prototype scope". -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29129