Re: Call for vetoes: Setting the global C++ locale in Gtk::Main



Am 2010-04-05 21:10, schrieb Murray Cumming:
On Mon, 2010-04-05 at 19:04 +0200, Daniel Elstner wrote:
Hi,

Am Sonntag, den 04.04.2010, 21:41 -0400 schrieb Paul Davis:

daniel, you should know that if the C++ locale stuff is used on OS X
with *anything* except "C" or "POSIX" as the locale, it will abort the
application.
Does it abort directly or due to an uncaught exception?
It would also be nice to see official documentation for this unusual
behavior. Maybe it would tell us what to do instead.


http://groups.google.com/group/gnu.gcc.help/browse_thread/thread/99d874aed6b46fdd

"terminate called after throwing an instance of 'std::runtime_error'
   what():  locale::facet::_S_create_c_locale name not valid"

it throws a std::runtime_error


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]