This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libstdc++/6702: requirements for wchar_t support are too restrictive

>Number:         6702
>Category:       libstdc++
>Synopsis:       requirements for wchar_t support are too restrictive
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri May 17 10:26:00 PDT 2002
>Originator:     Dale Peakall
>Release:        3.1 20020510 (prerelease)
solaris 8
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++).



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]