From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 31 13:40:07 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 616A51065690 for ; Thu, 31 Jul 2008 13:40:07 +0000 (UTC) (envelope-from freebsd-hackers@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 1FA078FC12 for ; Thu, 31 Jul 2008 13:40:07 +0000 (UTC) (envelope-from freebsd-hackers@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1KOYNu-0000RF-Rv for freebsd-hackers@freebsd.org; Thu, 31 Jul 2008 13:40:02 +0000 Received: from xdsl-10260.wroclaw.dialog.net.pl ([84.40.242.20]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 31 Jul 2008 13:40:02 +0000 Received: from mwisnicki+freebsd by xdsl-10260.wroclaw.dialog.net.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 31 Jul 2008 13:40:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-hackers@freebsd.org From: Marcin Wisnicki Date: Thu, 31 Jul 2008 13:23:24 +0000 (UTC) Lines: 16 Message-ID: References: <4890B595.5060103@sh.cvut.cz> <4890E215.2020304@sh.cvut.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: xdsl-10260.wroclaw.dialog.net.pl User-Agent: Pan/0.132 (Waxed in Black) Sender: news Subject: Re: Locale woes. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jul 2008 13:40:07 -0000 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.