
7 Mar
2006
7 Mar
'06
4:06 p.m.
"Vladimir Prus" <ghost@cs.msu.su> wrote in message news:dujffj$njo$1@sea.gmane.org...
Beman Dawes wrote:
Maybe, this can be converted into a function with static variable, so that the static variable is only initialized on the first call?
OK, this has been changed in CVS. Please try it with the same LC_MESSAGES problem, and let me know if the exception occurs at a more appropriate time.
Sorry, no, because of this another static object:
const std::codecvt<wchar_t, char, std::mbstate_t> * converter( &std::use_facet<std::codecvt<wchar_t, char, std::mbstate_t> > ( loc() ) );
which cals 'loc' before 'main' is called, and gives the same problem.
Grrr.... Sorry. Fixed in CVS. --Beman