Hi Christian, On Thu, Jan 19, 2012 at 08:13:13AM +0100, Christian Leutloff wrote: > the exception is caused by the libstdc++ used to compile your > executable. This seems to be intentional, because the libstdc++ does > not support the std::locale (other than "C"). > > Here are some hints about the topic: > > http://gcc.gnu.org/ml/libstdc++/2003-02/msg00345.html > http://sources.redhat.com/bugzilla/show_bug.cgi?id=165
Thanks for pointing that out! > I am sure that this behavior is present in Lenny > (libstdc++6-4.3-dev:4.3.2-1.1) and is gone in Ubuntu 11.11 > (libstdc++6-4.6-dev:)4.6.1-9ubuntu3). So somewhere in between it has > been fixed. I just checked with version 4.6.2, and the check against the "C" locale and the exception for any request other than that is still present (see libstdc++-v3/config/locale/generic/c_locale.cc in the gcc source). Have you been able to produce Windows-targeted binaries without this behaviour? Regards, Stephen
signature.asc
Description: Digital signature