should "char T[0];" compile?
Alexandre Oliva
oliva@dcc.unicamp.br
Tue Aug 31 22:45:00 GMT 1999
On Aug 12, 1999, Johan Huylebroeck <johan@easics.be> wrote:
> This program should not compile:
> char T[0]; // <- array size should be positive > 0 (C++ std
> 8.3.4)
It's an extension. Compile with -ansi -pedantic to disable all
extensions.
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{dcc.unicamp.br,guarana.{org,com}} aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them
More information about the Gcc-bugs
mailing list