Long double vs. ANSI inconsistency
Joseph S. Myers
jsm28@cam.ac.uk
Tue Oct 10 08:55:00 GMT 2000
On Tue, 10 Oct 2000, Tomasz Kowaltowski wrote:
> Using
>
> gcc -ansi -Wall -pedantic -o testlongdouble testlongdouble.c
>
> it gives the following warning:
>
> testlongdouble.c: In function `main':
> testlongdouble.c:7: warning: ANSI C does not support the `L'
> length modifier
This bug is fixed in current GCC CVS (which will become GCC 3.0). Both
long double and %Lf are part of all versions of the ISO C standard.
--
Joseph S. Myers
jsm28@cam.ac.uk
More information about the Gcc-bugs
mailing list