[Bug c/28368] -std=c89 doesn't warn about gcc's "?:" extension
joseph at codesourcery dot com
gcc-bugzilla@gcc.gnu.org
Wed Mar 7 21:06:00 GMT 2007
------- Comment #5 from joseph at codesourcery dot com 2007-03-07 21:06 -------
Subject: Re: -std=c89 doesn't warn about gcc's "?:" extension
On Wed, 7 Mar 2007, manu at gcc dot gnu dot org wrote:
> Sorry, I still don't understand what is the difference between -std=c89 and
> -std=gnu89.
-std=c89 accepts C89 programs that conflict with the GNU C89 language.
For example, ones using "inline" or "asm" as an identifier, or using any
non-reserved identifier predefined as a macro in GNU C (such as "linux" or
"i386") or using trigraphs.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28368
More information about the Gcc-bugs
mailing list