Undetected error in array declarations...

Alexandre Oliva oliva@dcc.unicamp.br
Thu Dec 3 04:35:00 GMT 1998


On Dec  2, 1998, Mike Simons <msimons@fsimons01.erols.com> wrote:

>   If a function call is given as a array size, 

>   I think the compiler should flag this as an error... or if for some reason
> that may be valid syntax, at the very least issue a warning when -Wall is on.

Try -pedantic.  This is a gcc extension.

-- 
Alexandre Oliva  http://www.dcc.unicamp.br/~oliva  aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil




More information about the Gcc-bugs mailing list