This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c/5957: gcc accepts C99-only code even when -std=c89 arg used
- From: neil at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, jason-gccprs at molenda dot com, nobody at gcc dot gnu dot org
- Date: 29 Mar 2002 08:50:40 -0000
- Subject: Re: c/5957: gcc accepts C99-only code even when -std=c89 arg used
- Reply-to: neil at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, jason-gccprs at molenda dot com, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: gcc accepts C99-only code even when -std=c89 arg used
State-Changed-From-To: open->closed
State-Changed-By: neil
State-Changed-When: Fri Mar 29 00:50:40 2002
State-Changed-Why:
This is not a bug, it's the meaning of the options, though you may disagree with it.
If you want a hard error, you need -pedantic-errors.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5957