http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59675
--- Comment #2 from Jan Kratochvil <jan.kratochvil at redhat dot com> --- It needs also some new #include as otherwise one may get: In file included from /usr/include/c++/4.8.2/bits/stl_algobase.h:59:0, from /usr/include/c++/4.8.2/list:60, from list.C:1: /usr/include/c++/4.8.2/x86_64-redhat-linux/bits/c++config.h: In function ‘void std::__replacement_assert(const char*, int, const char*, const char*)’: /usr/include/c++/4.8.2/x86_64-redhat-linux/bits/c++config.h:2042:23: error: ‘stderr’ was not declared in this scope __builtin_fprintf(stderr, "%s:%d: %s: Assertion '%s' failed.\n", __file, ^