libstdc++-v3 wstring-support on old systems

Mads mki@maconomy.dk
Wed May 29 12:51:00 GMT 2002


libstdc++-v3 is pretty close to the C++ standards. However, wstring is
supported on platforms with sufficient native wchar_t support only (see e.g.
http://gcc.gnu.org/ml/libstdc++/2002-04/msg00215.html).

According to Phil Edwards (in a private email) it might be possible to
support wstring on unsupported (wrt wstring) platforms using some external
free C libraries, like glibc or newlib. That's how cygwin did it a couple of
years ago (http://sources.redhat.com/ml/newlib/1999/msg00001.html).

Is it still possible? Has it been done recently? How? Is it something the
gcc community cares about at all? According to Benjamin Kosnik  "the plan is
to have wstrings work with gcc-3"
(http://gcc.gnu.org/ml/libstdc++/2001-01/msg00101.html) - is that still the
plan on all platforms?

A complete C++ library with wstring support (or a way to get it) on "all"
platforms would be really nice. That would probably help e.g.
http://gcc.gnu.org/ml/gcc-help/2002-05/msg00158.html and PR 4764 - and me...
;-)

/Mads K



More information about the Libstdc++ mailing list