Solaris and std::wstring - Help!

Eljay Love-Jensen eljay@adobe.com
Wed Dec 3 13:53:00 GMT 2003


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 



More information about the Gcc-help mailing list