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: Long double vs. ANSI inconsistency


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


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