https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51785
andyg1001 at hotmail dot co.uk changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andyg1001 at hotmail dot co.uk --- Comment #28 from andyg1001 at hotmail dot co.uk --- Erm, am I the first to notice that this "solution" is broken? The os_defines.h include that undefines _GLIBCXX_HAVE_GETS is included before _GLIBCXX_HAVE_GETS is (re)defined inside c++config.h. Therefore, _GLIBCXX_HAVE_GETS is still defined when we get to <cstdio>. Seems still to be broken even in trunk.