[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patches] Re: Bug#582698: libc6-dev: INTMAX_MAX definition yields build failure in 32-bit C90 mode though intmax_t is supported
- To: Vincent Lefevre <vincent@xxxxxxxxxx>
- Subject: Re: [patches] Re: Bug#582698: libc6-dev: INTMAX_MAX definition yields build failure in 32-bit C90 mode though intmax_t is supported
- From: "Joseph S. Myers" <joseph@xxxxxxxxxxxxxxxx>
- Date: Sun, 23 May 2010 00:33:02 +0000 (UTC)
The natural approach to fix this would seem to be to use __extension__ in
the definitions of __INT64_C and __UINT64_C and the associated INT64_C
etc. macros, when those use long long suffixes. That should avoid the
failures for strict C90 when using a compiler recent enough to have the
(partial) fix for GCC PR 7263. I see no reason this should be
unacceptable for FSF glibc (though one can never entirely predict how the
FSF glibc maintainers will react to a given patch).
--
Joseph S. Myers
joseph@xxxxxxxxxxxxxxxx