Re: Call for vetoes: Setting the global C++ locale in Gtk::Main
- From: Paul Davis <paul linuxaudiosystems com>
- To: Daniel Elstner <daniel kitta googlemail com>
- Cc: gtkmm mailing list <gtkmm-list gnome org>
- Subject: Re: Call for vetoes: Setting the global C++ locale in Gtk::Main
- Date: Sun, 4 Apr 2010 21:41:03 -0400
On Tue, Mar 30, 2010 at 1:18 PM, Daniel Elstner
<daniel kitta googlemail com> wrote:
> the attached patch is currently being considered for application to
> gtkmm, both stable and unstable. Since it changes user-visible
> behavior, it is possible that it may break some odd piece of code out
> If it breaks your code, raise your veto now. :-)
> The change is to initialize the global C++ locale in the constructor of
> Gtk::Main. The current situation is that the global C library locale is
> initialized by gtk_init() to the user locale from the environment. This
> results in an inconsistency because the global C++ locale is independent
> from the the global C library locale.
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
this is a bug that has been in place since Panther and remains
(AFAICT) in Snow Leopard (the latest OS X release).
i know it seems unbelievable, but it just is, alas.
] [Thread Prev