https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98725
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- The definitions of the static constants in numeric_limits<wchar_t> are define conditionally in src/c++11/limits.cc That seems wrong, because the specialization numeric_limits<wchar_t> is defined unconditionally in the <limits> header. That means some uses of those constants will result in linker errors for a --disable-wchar_t build. However, defining them unconditionally would alter the ABI (and slightly increase the size of libstdc++.so) for --disable-wchar_t builds, so is less obviously the right choice than some other cases.