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/28368] -std=c89 doesn't warn about gcc's "?:" extension



------- 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


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