------- 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

Reply via email to