This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Wrong warnings with gcc 2.95.2
- To: Alexandre Oliva <aoliva at cygnus dot com>
- Subject: Re: Wrong warnings with gcc 2.95.2
- From: "Dieter Buerssner" <buers at gmx dot de>
- Date: Wed, 24 May 2000 19:26:53 +0200
- CC: gcc-bugs at gcc dot gnu dot org
- References: "Dieter Buerssner"'s message of "Wed, 24 May 2000 16:05:08 +0200"
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