[Bug c++/42121] g++ should warn or error on internal 0 size array in struct

redi at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Nov 20 18:09:00 GMT 2009



------- Comment #1 from redi at gcc dot gnu dot org  2009-11-20 18:09 -------
Looks like this is for compatibility with GNU C, which allows it, but only in
the form char b[0] not char b[]


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42121



More information about the Gcc-bugs mailing list