Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jul 2008 22:21:27 +0200
From:      =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= <v.haisman@sh.cvut.cz>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Locale woes.
Message-ID:  <48921EC7.70102@sh.cvut.cz>
In-Reply-To: <g6secc$21c$2@ger.gmane.org>
References:  <4890B595.5060103@sh.cvut.cz> <4890E215.2020304@sh.cvut.cz> <g6secc$21c$2@ger.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Marcin Wisnicki wrote, On 31.7.2008 15:23:
> On Wed, 30 Jul 2008 23:50:13 +0200, Václav Haisman wrote:
> 
>> Václav Haisman wrote, On 30.7.2008 20:40:
>>> Hi,
>>> I have some problem with locales on FreeBSD 6.3. The attached test case
>>> fails with uncaught std::runtime_error exception:
>> [...]
>> I am able to run the test case successfuly when I compile it with
>> STLport. So it seems there is something odd going on with just the
>> libstdc++ that ships with GCC. On the other hand, it works fine with GCC
>> 4.1.2 on Gentoo/Linux.
> 
> Yes it is somewhat known problem that libstdc++ on FreeBSD does not 
> support locales. I've seen some discussions about this in the past on 
> freebsd lists. You can try searching archives, but AFAIR there was no 
> solution except hints how to implement it.
> 
This is like...ugh!...totally unexpected. C locales seem to work and so do 
STLport's so I thought it was just some sort misconfiguration. (I had rebuilt 
the world more than once in past.)

I have found some posts in -stable about it. It seems like it would be quite 
a lot of work to implement it, both, either implementing the required POSIX 
functionality or implementing it atop the existing. Sounds like nice GSoC 
task for somebody with more zeal than I have.

--
VH


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)

iFYEAREIAAYFAkiSHs4ACgkQhQBMvHf/WHk3FADgn9xjidJ4XP72/GGAqO4vxoMV
6BLBwTx8YOjj3gDgoxOm8IEB/IAOj5hmXDi1LXhvYteG6dRYzHOJkA==
=siGQ
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48921EC7.70102>