This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: preprocessor/7263: __extension__ keyword doesn't suppress warningon LL or ULL constants
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: <ehrhardt at mathematik dot uni-ulm dot de>, <andrew at andypo dot net>, <gcc-bugs at gcc dot gnu dot org>, <gcc-gnats at gcc dot gnu dot org>
- Date: Mon, 9 Dec 2002 23:24:53 +0000 (GMT)
- Subject: Re: preprocessor/7263: __extension__ keyword doesn't suppress warningon LL or ULL constants
On 9 Dec 2002 ehrhardt@mathematik.uni-ulm.de wrote:
> Synopsis: __extension__ keyword doesn't suppress warning on LL or ULL constants
>
> State-Changed-From-To: open->analyzed
> State-Changed-By: cae
> State-Changed-When: Mon Dec 9 15:10:17 2002
> State-Changed-Why:
> I can confirm this on recent 3.3. The warning is from the preprocessor
> where we don't know about __extension__. Maybe the fix is to just
> document this. Anyway: Category changed to preprocessor and priority
> raised to medium because this is technically a regression.
Note the same issue applies with the warning for complex floats; since
__extension__ is there used by glibc's <complex.h> to define _Complex_I,
some fix involving not warning for such constants arising from macros
defined in system headers may be necessary.
--
Joseph S. Myers
jsm28@cam.ac.uk