------- Comment #24 from paolo dot carlini at oracle dot com 2009-07-31 13:14 ------- Oops, now I understand, was overlooking 18.4.2. Great. Thus we could just arrange for those feature macros to be automagically defined when -std=c++0x (gnu++0x). Do we have already have something similar elsewhere? I can prepare a patch.
I'm still not completely sure that solution makes for a perfect implementation (what happens if the user code explicitly undefines the macros?) but it would be a progress. Then, eventually, <stdint.h> will just have to support those C++1x uses, by ignoring the value of the feature macros when C++1x and providing the macros unconditionally. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=448