Re: Solaris CC 5.0

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Sep 02 1999 - 15:02:33 MEST


Hi Dave,
Yannick Patois  has been kindly working on the porting of Root under CC5
a few weeks ago. He reported a long list of warnings/errors reported
by this new compiler. Most of the necessary changes have already been
incorporated in our development version 2.23.
I just need a machine to test if all these changes are sufficient.

I am sorry to say that AutoConf (nice tool otherwise) would not have
solved any
of the problems reported.

Rene Brun


Dave Morrison wrote:
> 
> 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