------- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-07 11:16 -------
Using -std=c99 -pedantic-errors:
earth:~>gcc t.c -std=c99 -pedantic-errors
t.c:1: error: struct has no members
t.c:1: error: unnamed struct/union that defines no instances
earth:~>~/ia32_linux_gcc3_4/bin/gcc t.c -std=c99 -pedantic-errors
t.c:1: error: struct has no members
t.c:1: error: unnamed struct/union that defines no instances
earth:~>~/ia32_linux_gcc3_0/bin/gcc t.c -std=c99 -pedantic-errors
t.c:1: struct has no members
t.c:1: unnamed struct/union that defines no instances
So this is invalid.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24253