Solaris CC 5.0

From: Dave Morrison (dave@bnl.gov)
Date: Thu Sep 02 1999 - 14:36:02 MEST


Hi all,

Is anyone else is hoping to use ROOT with Solaris C++ 5.0?  The available
Sun/Solaris version of ROOT was built for C++ 4.2, but it looks like it'll
involve more than a simple recompile to update things.  One of the first things
that popped up manifested itself like this:

"/opt/phenix/root/include/TString.h", line 48: Error: A typedef name cannot be
used in an elaborated type specifier..

which can be fixed by tweaking RConfig.h (thanks to Kyle Pope):

--- RConfig.h.orig      Thu Sep  2 08:30:24 1999
+++ RConfig.h.new       Thu Sep  2 08:31:15 1999
@@ -59,6 +59,9 @@
 #   define R__UNIX
 #   define NEED_STRING
 #   define NEED_SIGJMP
+#   if __SUNPRO_CC > 0x420
+#      define R__ANSISTREAM
+#   endif
 #endif
  
 #ifdef __sgi

Any other things like this folks are aware of? (I do imagine autoconf would be a
big help in these kinds of situations :))

Dave

-- 
David Morrison  Brookhaven National Laboratory  phone: 516-344-5840
                Physics Department, Bldg 510 C    fax: 516-344-3253
		          Upton, NY 11973-5000  email: dave@bnl.gov



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:39 MET