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]

Re: Wrong warnings with gcc 2.95.2


On 24 May 00, at 11:14, Alexandre Oliva wrote:

> On May 24, 2000, "Dieter Buerssner" <buers@gmx.de> wrote:
> 
> > The following code will produce three warnings, all wrong. (The first 
> > two are not too surprising, because these are new C99 features.)
> > Version 2.7.2.1 did not produce the second and third  warning.
> 
> Yup, they're new ones.  I think there's some -std option that will
> tell GCC to assume the C9X/C99 standard.

Adding -flang-isoc9x will have no influence. Did you think of an 
other option. 

Anyway, the third warning seems clearly wrong. "%Lf", "%Lg" and "%Le" 
for printing long doubles are in C90.

-- 
Regards, Dieter Buerssner


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