g++ 2.95.2 warning: ANSI C does not support the `L' length modifier
sebor@my-Deja.com
Sun Mar 5 19:28:00 GMT 2000
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.
More information about the Gcc-bugs
mailing list