[patch] Fix for BZ #15366 (ignore __STDC_LIMIT_MACROS, __STDC_CONSTANT_MACROS)
Florian Weimer
fweimer@redhat.com
Tue Apr 23 22:32:00 GMT 2013
On 04/22/2013 10:25 PM, Richard Smith wrote:
> I've done a little more digging. The text was added to C here (I can
> find no indication that they liaised with the C++ committee before
> adding it):
>
> http://www.open-std.org/jtc1/sc22/wg14/www/docs/n851.htm
>
> and it was removed as an *editorial* change here:
>
> http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1426.pdf
>
> "Removed the C++ feature test macros from 7.8.1, 7.19.2, 7.19.3, and
> 7.19.4 since C++ has never
> used them"
Thanks for your investigation.
In this light, I think the original patch makes sense.
I personally have been bitten by the need to define __STDC_FORMAT_MACROS
(that's the 7.8.1 reference).
Paul, could you remove that as well?
--
Florian Weimer / Red Hat Product Security Team
More information about the Libc-alpha
mailing list