cctype on Solaris (was Re: Re[2]: Announcing libstdc++-2.90.7)

David Scott Page page@cs.utexas.edu
Sat Apr 1 00:00:00 GMT 2000


----- Original Message -----
From: Phil Edwards <pedwards@jaj.com>
To: <libstdc++@sourceware.cygnus.com>; <mbrown@mediadb.net>
Sent: Monday, December 27, 1999 1:30 PM
Subject: cctype on Solaris (was Re: Re[2]: Announcing libstdc++-2.90.7)


>
> [subject tweaked to help the search engines]
>
> > I have successfully built and installed on my Solaris box, but it,
again,
> > required a tweak. This one was with <srcdir>/config/solaris/ctype.cc:
> > The gcc 2.95.1 compiler complains about '__trans_upper' and
__trans_lower'
> > being 'int *' while the left side of the related assignments are 'long
int
> > *'. Performing a C-style cast to 'long int *' in these four statements
> > allows the compile to succeed.

This might not be a solution, since on the 64-bit version of Solaris
2.7 and later (the default for ultra sparcs), applications using the
LP64 model will expect longs to be 64 bits, and ints to be 32 bits.

--
Scott Page


More information about the Libstdc++ mailing list