Locale woes.

Marcin Wisnicki mwisnicki+freebsd at gmail.com
Thu Jul 31 13:40:07 UTC 2008


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.



More information about the freebsd-hackers mailing list