This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/7263] __extension__ keyword doesn't suppress warning on LL or ULL constants
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Feb 2005 19:07:55 -0000
- Subject: [Bug preprocessor/7263] __extension__ keyword doesn't suppress warning on LL or ULL constants
- References: <20020710082600.7263.andrew@andypo.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From joseph at codesourcery dot com 2005-02-08 19:07 -------
Subject: Re: __extension__ keyword doesn't suppress
warning on LL or ULL constants
On Tue, 8 Feb 2005, neroden at gcc dot gnu dot org wrote:
> Shouldn't the warning killer for system header errors apply to this sort of
> thing? Apparently it doesn't.
The problem is that macros are defined in system headers and expanded
outside them. Getting the system header treatment to apply to macros
defined in system headers so that
#define _Complex_I 1.0iF
or
#define INTMAX_C(c) c ## LL
can be defined in system headers, and then expanded in user source files
without -pedantic diagnostics, would suffice. (Both cases are relevant,
the former for <complex.h>, the latter for <stdint.h> if used in C90
mode.)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7263