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/18502] trigraphs don't work with -std=gnu99


------- Additional Comments From joseph at codesourcery dot com  2004-11-15 15:51 -------
Subject: Re:  trigraphs don't work with -std=gnu99

On Mon, 15 Nov 2004, pinskia at gcc dot gnu dot org wrote:

> Confirmed, the problem is either in the C front-end (which is really the code which drives the 
> preprocessor library) or in the C driver part:
>  /Users/pinskia/local/libexec/gcc/powerpc-apple-darwin7.6.0/4.0.0/cc1 -E -quiet -v -P -trigraphs 
> -trigraphs -D__DYNAMIC__ -D__APPLE_CC__=1 - -fPIC -std=gnu99
> 
> Note how -std=gnu99 is done after -trigraphs.

In that case the sorting needs to be disabled between these options just 
as -ansi and -std options are sorted together in specs (%{std*&ansi}, was 
bug 11459).



-- 


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


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