PLEASE REPLY TO [EMAIL PROTECTED] ONLY, *NOT* [EMAIL PROTECTED]

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



------- Additional Comments From neil at daikokuya dot co dot uk  2003-07-09 
05:45 -------
Subject: Re:  -stdc=c90 -pedantic -ansi warns about C90's non long-long support 
when in C99 mode

pinskia at physics dot uc dot edu wrote:-

> pinskia at physics dot uc dot edu changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>             Summary|-stdc=c90 -pedantic warns   |-stdc=c90 -pedantic -ansi
>                    |about C90's non long-long   |warns about C90's non long-
>                    |support when in C99 mode    |long support when in C99
>                    |                            |mode
> 
> 
> ------- Additional Comments From pinskia at physics dot uc dot edu  
> 2003-07-08 20:11 -------
> The bug report is wrong because with those options, I do not get the warning 
> but reading 
> the bug report which is this is forward from, I see that the option -ansi is 
> there, I do not 
> know what is should happen when you say '-std=c99 -ansi' or '-ansi -std=c99', 
> should gcc 
> put into c89 or c99?  Could some else look at this bug and say what should 
> gcc do?

-ansi means -std=c89.  Which ever comes later of -ansi and -std=c99 should win; 
this
is the general rule (sadly some exceptions are insisted on).

Neil.




------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.


Reply via email to