This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Solaris and std::wstring - Help!
- From: Eljay Love-Jensen <eljay at adobe dot com>
- To: kyrre_kristiansen at yahoo dot co dot uk, gcc-help at gcc dot gnu dot org
- Date: Wed, 03 Dec 2003 07:54:23 -0600
- Subject: Re: Solaris and std::wstring - Help!
Hi Kyrre,
Solaris does not support C99 wide string manipulation.
Building GCC itself detects that lack of support, and disables wide string support.
Note: Solaris does support C++98 wide string manipulation, but the GCC test looks for C99 compliance, which has a few additional functions.
The problem is in detection for (and the missing of) vfwscanf, vswscanf, vwscanf, wcstof and (perhaps) iswblank.
qv...
<http://www.cygwin.com/ml/cygwin/2002-11/msg00920.html>
<http://www.mail-archive.com/gcc-bugs@gcc.gnu.org/msg43724.html>
<http://www.geocrawler.com/archives/3/356/2001/11/1050/6963066/>
<http://gcc.gnu.org/ml/libstdc++/2003-09/txt00002.txt>
<http://gcc.gnu.org/ml/gcc-patches/2003-09/msg01830.html>
Assuming that this hasn't been fixed in the GCC head, I believe you need to doctor up the acinclude.m4 file and rebuild GCC to get C++ std::wstring support in GCC on Solaris.
HTH,
--Eljay