This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
patch to config/solaris/bits/ctype_base.h
- To: libstdc++ at sourceware dot cygnus dot com
- Subject: patch to config/solaris/bits/ctype_base.h
- From: Phil Edwards <pedwards at jaj dot com>
- Date: Thu, 23 Dec 1999 11:20:52 -0500
This prevented building under Solaris7, since the declarations in
/usr/include/ctype.h are int*'s not long*'s. The following change let
me finish building under gcc 2.95.2.
All of my Solaris boxes are running [2.]7, so I don't know whether this
applies to 2.6 as well. (I saw the comments about 2.5.1 being completely
different; joy.) So I won't check this in (this year) unless somebody
can tell me whether it would hose Solaris 2.6...?
(If you reply to the list, please don't cc another copy to me. Thanks!)
Phil
Index: config/solaris/bits/ctype_base.h
===================================================================
RCS file: /cvs/libstdc++/libstdc++/config/solaris/bits/ctype_base.h,v
retrieving revision 1.2
diff -u -3 -r1.2 ctype_base.h
--- ctype_base.h 1999/12/20 20:05:39 1.2
+++ ctype_base.h 1999/12/23 15:48:18
@@ -38,7 +38,7 @@
{
typedef unsigned int mask;
// Non-standard typedefs.
- typedef long* __to_type;
+ typedef int* __to_type;
enum
{