This is the mail archive of the
libstdc++-prs@sourceware.cygnus.com
mailing list for the libstdc++ project.
libstdc++/28: solaris/bits/ctype_base.h incompatible with /usr/include/ctype.h, Solaris 7, SC5.0
- To: libstdc++-gnats at sourceware dot cygnus dot com
- Subject: libstdc++/28: solaris/bits/ctype_base.h incompatible with /usr/include/ctype.h, Solaris 7, SC5.0
- From: whall at primextrading dot com
- Date: 22 Jan 2000 02:38:42 -0000
- Reply-To: whall at primextrading dot com
- Resent-Cc: libstdc++-prs at sourceware dot cygnus dot com
- Resent-Reply-To: libstdc++-gnats@sourceware.cygnus.com, whall@primextrading.com
>Number: 28
>Category: libstdc++
>Synopsis: solaris/bits/ctype_base.h incompatible with /usr/include/ctype.h, Solaris 7, SC5.0
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 21 18:47:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: cygnus
>Release: libstdc++-2.90.7
>Organization:
>Environment:
Solaris 7, Sun SC5.0 compiler
>Description:
Upon standard install, during the "make && make install" phase, compilation of locale.cc resulted in an illegal conversion error within ctype.cc given the following:
libstdc++-2.90.7/config/solaris/bits/ctype_base.h:
typedef long* __to_type;
libstdc++-2.90.7/config/solaris/ctype.cc:
ctype_base::__to_type const& ctype<char>::_S_toupper = __trans_upper;
/usr/include/ctype.h:
extern int* __trans_upper;
>How-To-Repeat:
mkdir bld-libstdc++
cd bld-libstdc++
../libstdc++-2.90.7/configure --prefix=/usr/local/gnu-new-libstdc++ --enable-namespaces
make && make install
>Fix:
In libstdc++-2.90.7/config/solaris/bits/ctype_base.h, replace this:
typedef long* __to_type;
with this:
typedef int* __to_type;
>Release-Note:
>Audit-Trail:
>Unformatted: