http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51773
--- Comment #10 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2012-01-06 15:51:20 UTC --- On Fri, 6 Jan 2012, jakub at gcc dot gnu.org wrote: > I'm not sure if for -D_GNU_SOURCE we want a ::gets prototype in C++, it would > be better to just have std::gets only. The trouble is we can't distinguish between a user's -D_GNU_SOURCE for C++ and the compiler's predefine (which it defines because the libstdc++ headers want to use C library functionality beyond that present in the standard). I'm testing a glibc patch that reenables gets for C++ <= C++11, disables the static_assert define for C++ and disables the char16_t/char32_t typedefs in uchar.h for C++11 (since they are keywords in C++11).