[Bug c/17877] __extension__ should apply to long long constants

jsm at polyomino dot org dot uk gcc-bugzilla@gcc.gnu.org
Thu Oct 7 10:38:00 GMT 2004


------- Additional Comments From jsm at polyomino dot org dot uk  2004-10-07 10:38 -------
Subject: Re:  New: __extension__ should apply to long long
 constants

On Thu, 7 Oct 2004, algrant at acm dot org wrote:

> __extension__ applies to use of the "long long" type but not
> to long long constants.  So in --ansi --pedantic
>   __extension__ long long n = __extension__ 3ll;
> warns about the constant.

Much the same applies to the macro I in <complex.h>, and an alternative 
possible solution would be not to warn if such constants arise from the 
expansion of macros in system headers.  In any case, this is already 
reported as bug 7263.



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17877



More information about the Gcc-bugs mailing list