This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]