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: g++ 2.95.2 warning: ANSI C does not support the `L' length modifier


> 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

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