This is the mail archive of the libstdc++-prs@sourceware.cygnus.com mailing list for the libstdc++ project.


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

libstdc++/28: solaris/bits/ctype_base.h incompatible with /usr/include/ctype.h, Solaris 7, SC5.0



>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:

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