This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: [patch] Fix for BZ #15366 (ignore __STDC_LIMIT_MACROS, __STDC_CONSTANT_MACROS)


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


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