This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Localization with libstdc++ fails on FreeBSD
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: Sashi Asokarajan <sashi at gmx dot de>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Tue, 29 Apr 2008 17:36:26 -0500
- Subject: Re: Localization with libstdc++ fails on FreeBSD
- References: <48146988.5090405@gmx.de>
> Why does the "darwin" (which is generic) model apply to the FreeBSD
> OS? (I guess C++ localization will also fail on MacOS X too.)
It looks like it has something to do with ctype, and nothing to do with
named locales.
Named locales only work on GNU systems, or with systems that implement
the new POSIX locale model (newlocale/duplocale/strcoll_l, etc). From
what I understand, neither FreeBSD 7 nor Darwin meet these requirements.
best,
-benjamin