g++ 2.95.2 warning: ANSI C does not support the `L' length modifier

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Mon Mar 6 00:57:00 GMT 2000


> the compiler warns (with the --pedantic flag on) about the `L' modifier
> in the code below. Since the modifier is specified by ANSI C99 (see
> 7.19.6.1, p7) the warning should now be disabled.

Thanks for your bug report. I've put it into GNATS. The user interface
for --pedantic here is still under development; most likely, you'll
have to say '--std=c99 --pedantic' to ask for tests of C99
conformance. Perhaps this is changed to the default, and you'll have
to say '--std=c89 --pedantic' for what --pedantic is now.

Regards,
Martin


More information about the Gcc-bugs mailing list