http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52764

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-03-29 
10:25:22 UTC ---
Joseph, I was just about to file a glibc bug, let me know if you want that
done.

Glibc's stdint.h (and GCC's stdint-gcc.h) must unconditionally define the
macros for C++11.

It's debatable whether they should be defined for C++03. The __STDC_xxx_MACROS
macros make sense there to avoid macro pollution, but arguably no strict C++03
program will include <stdint.h> anyway, so defining them unconditionally would
also be reasonable, and consistent with C++11.

GCC also needs to workaround the problem for "older" (i.e. all existing) glibc
versions.

Reply via email to