This is the mail archive of the
mailing list for the GCC project.
libstdc++/6702: requirements for wchar_t support are too restrictive
- From: dale at peakall dot net
- To: gcc-gnats at gcc dot gnu dot org
- Date: 17 May 2002 17:19:38 -0000
- Subject: libstdc++/6702: requirements for wchar_t support are too restrictive
- Reply-to: dale at peakall dot net
>Synopsis: requirements for wchar_t support are too restrictive
>Arrival-Date: Fri May 17 10:26:00 PDT 2002
>Originator: Dale Peakall
>Release: 3.1 20020510 (prerelease)
The requirements before libstdc++ will build with support
for wchar_t are too restrictive.
Changing cwchar and cwctype to not try import the missing
functions into std namespace and changing config.h and c++config.h to define _GLIBCPP_USE_WCHAR_T and rebuilding libstdc++ works without problem on solaris 8, although autoconf had decided that this wasn't possible.
Support for wchar_t is mandated by the C++ standard - gcc should make more extensive efforts to support it on any platform that it reasonably can (i.e. supports the set of functions used by libstdc++).