This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/38714] gcc allows last member of a struct or union without a semicolon



------- Comment #1 from rguenth at gcc dot gnu dot org  2009-01-03 11:53 -------
gcc -S t.c -pedantic-errors
t.c:4: error: no semicolon at end of struct or union

thus, this works for me.  We accept it by default with an unconditional
warning for legacy reasons.  Use -pedantic-errors to force strict compliance
checking.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WORKSFORME


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]