From: Beman Dawes (bdawes_at_[hidden])
Date: 2006-03-07 11:06:30
"Vladimir Prus" <ghost_at_[hidden]> wrote in message
> 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
> Sorry, no, because of this another static object:
> const std::codecvt<wchar_t, char, std::mbstate_t> *
> &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.