Wrong warnings with gcc 2.95.2

Dieter Buerssner buers@gmx.de
Wed May 24 10:20:00 GMT 2000


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



More information about the Gcc-bugs mailing list