From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20195 invoked by alias); 17 May 2002 18:06:05 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 20156 invoked by uid 71); 17 May 2002 18:06:03 -0000 Date: Fri, 17 May 2002 11:06:00 -0000 Message-ID: <20020517180603.20150.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Phil Edwards Subject: Re: libstdc++/6702: requirements for wchar_t support are too restrictive Reply-To: Phil Edwards X-SW-Source: 2002-05/txt/msg00520.txt.bz2 List-Id: The following reply was made to PR libstdc++/6702; it has been noted by GNATS. From: Phil Edwards To: dale@peakall.net Cc: gcc-gnats@gcc.gnu.org Subject: Re: libstdc++/6702: requirements for wchar_t support are too restrictive Date: Fri, 17 May 2002 14:00:15 -0400 On Fri, May 17, 2002 at 05:19:38PM -0000, dale@peakall.net wrote: > 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. Before you try hacking around this yourself, it's useful to investigate /why/ the autoconf scripts decided it wasn't possible. The file sparc-sun-solaris2.8/libstdc++-v3/config.log in the build directory will contain the output of the wide-character tests. Searching for "C99", "mbstate_t" and "wchar" should give results. > 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++). We already try, thankyouverymuch. More specifically, others have reported success on this platform, so I'm initially inclined to look at individual platform problems than systemic bugs. There were problems with the 'long long' tests under Solaris giving up too easily, but those were fixed back in 3.0.3; wide character support is related but separate.