[Bug c/44519] improve message for missing ";" after struct

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Aug 26 10:35:00 GMT 2012


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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-08-26 10:34:31 UTC ---
GCC now gives:

mult.c:3:9: error: expected ‘;’, identifier or ‘(’ before ‘int’

and G++ gives:

mult.cc:1:21: error: expected ‘;’ after struct definition



More information about the Gcc-bugs mailing list