Hi,

On Sat, Mar 25, 2006 at 09:29:04PM +0100, Viktor Horvath wrote:
> Maybe there's a confusion here: mingw32 supports wchar_t indeed (and
> wxWidgets cross-compilation), however some STL classes like wstring and
> streams like wcout aren't yet implemented in mingw32.

It's actually a bit deeper than that.  In the absence of glibc, the
libstdc++ library is built using the 'generic' c_locale -- which
does not support named locales other than "C".

> Apparently there are people working on this... I found
> http://lists.zerezo.com/mingw-users/msg00753.html

Thanks for the pointer, though this thread seems to have stalled
a while back now, I hadn't found it previously.

I've been tossing some hours into this one again myself recently,
given that libintl and libiconv now build, more or less, out of
the box with mingw.

I currently have libstdc++ building using the 'gnu' clocale, having
stubbed out the 'xlocale' api (along with a couple of other things
like nl_langinfo_l) as the last major missing piece.

I still need to do some more tests, and complete the implementation
of those functions (or rather port it to C from some C++ code of
my own), but it is looking fairly promising.

If it all pans out, I plan to add a mingw32-i18n package containing
those things, both as a dependency for the toolchain and for people
to use standalone if they so desire.

 Ron




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to