Re: Solaris and std::wstring - Help!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx/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 


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux