This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Long double vs. ANSI inconsistency
- To: Tomasz Kowaltowski <tomasz at ic dot unicamp dot br>
- Subject: Re: Long double vs. ANSI inconsistency
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Tue, 10 Oct 2000 16:54:14 +0100 (BST)
- cc: gcc-bugs at gcc dot gnu dot org
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