This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
g++ 2.95.2 warning: ANSI C does not support the `L' length modifier
- To: "gcc bug list" <gcc-bugs at gcc dot gnu dot org>
- Subject: g++ 2.95.2 warning: ANSI C does not support the `L' length modifier
- From: " " <sebor at my-Deja dot com>
- Date: Sun, 05 Mar 2000 19:27:19 -0800
- Cc: "John Pedretti" <pedretti at roguewave dot com>
- Organization: My Deja Email (http://www.my-deja.com:80)
Hi,
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.
#include <stdio.h>
int main ()
{
printf ("%Lg\n", 0.0L);
}
$ g++ -c -Wall --pedantic test.cpp
test.cpp: In function `int main()':
test.cpp:7: warning: ANSI C does not support the `L' length modifier
Thanks
Martin
--== Sent via Deja.com http://www.deja.com/ ==--
Share what you know. Learn what you don't.