This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: g++ 2.95.2 warning: ANSI C does not support the `L' length modifier
- To: sebor at my-deja dot com
- Subject: Re: g++ 2.95.2 warning: ANSI C does not support the `L' length modifier
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Mon, 6 Mar 2000 09:56:37 +0100
- CC: gcc-bugs at gcc dot gnu dot org, pedretti at roguewave dot com
- References: <MCNNDAGKIGKEDCAA@my-deja.com>
> 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