https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64553
Bug ID: 64553 Summary: Missing '# ifdef _GLIBCXX_USE_WCHAR_T' in src/c++11/cxx11-shim_facet.cc Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: andris.pavenis at iki dot fi wchar related defines are exposed in the new std::string implementation even if wchar.h is not fully usable (_GLIBCXX_USE_WCHAR_T not defined). The result is bootstrap stage 2 failure due to unresolved external references. Noticed this when trying to bootstrap GCC for DJGPP