This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: GCC 4.x Solaris locale support...
- From: <tscheresky at micron dot com>
- To: <iant at google dot com>
- Cc: <rittle at labs dot mot dot com>, <libstdc++ at gcc dot gnu dot org>, <gcc-help at gcc dot gnu dot org>
- Date: Fri, 25 Sep 2009 18:47:03 -0600
- Subject: RE: GCC 4.x Solaris locale support...
- References: <200909242310.n8ONA655031836@latour.labs.mot.com><A30B1F7A1BD7934E9AC9B3AF8D2A917309782DC6@ntxboimbx23.micron.com> <mcreipv145q.fsf@dhcp-172-17-9-151.mtv.corp.google.com>
Well, I have tried all possible --enable-clocale options.
--enable-clocale=ieee_1003.1-2001 failed with multiple errors. See the
following post for details:
http://gcc.gnu.org/ml/libstdc++/2009-09/msg00091.html
--enable-clocale=darwin failed with this error:
configure: error: Unknown argument to enable/disable clocale
Solaris GCC maintainers, is it a foregone conclusion that the locale
model for libstdc++ will be 'generic', for all versions of GCC from
3.4.x to 4.4.1, on Solaris 8 or newer, and there will be no support for
locales other than C, and POSIX?
If someone out there is experiencing something different then what I'm
reporting, please speak up.
Thanks...
Todd
Speech recognition in use. It makes mistakes. I correct the ones I
notice...
-----Original Message-----
From: Ian Lance Taylor [mailto:iant@google.com]
Sent: Friday, September 25, 2009 8:38 AM
To: tscheresky
Cc: rittle@labs.mot.com; libstdc++@gcc.gnu.org
Subject: Re: GCC 4.x Solaris locale support...
<tscheresky@micron.com> writes:
> /home/tscheres/gcc-4.4.1/libstdc++-v3/include/precompiled/stdc++.h:65:
>
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits
> /locale_classes.h:302: error: '_GLIBCXX_NUM_CATEGORIES' was not
declared
> in this scope
This looks like a bug in libstdc++. _GLIBCXX_NUM_CATEGORIES is
defined for the generic and gnu --enable-clocale options, but not for
the others.
Ian