This is the mail archive of the libstdc++@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]

patch to config/solaris/bits/ctype_base.h



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
     {



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