http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47007
--- Comment #21 from Tobias Burnus <burnus at gcc dot gnu.org> --- (In reply to Tobias Burnus from comment #20) > has to obtain the locale with newlocale(..., "C",...) - and later should > free it with freelocale. Respectively, __newlocale and __freelocale for pre-POSIX-2008 GLIBC. (The __* ones are used by libstdc++-v3/config/locale/gnu/c_locale.cc).