[ROOT] Root with Sun Workshop 7

From: Bruce O'Neel (bruce.oneel@obs.unige.ch)
Date: Thu Mar 06 2003 - 13:41:04 MET


Hi,

Since we're getting close to a software release we're trying to get
away from 3+ year old compilers.  Ergo we just upgraded to Sun
Workshop 7 (or what ever it is they call it this week).

This comes with Sun C++ 5.4 which seems not to build trying to
compile:

CC -O -KPIC -DG__REGEXP1 -DG__UNIX -DG__OSFDLL -Iinclude  -DG__EXCEPTION -DG__ST
D_EXCEPTION -DG__SHAREDLIB -DG__ROOT -DG__REDIRECTIO -ptr/home/isdc/oneel/pc7-sc
ratch/src/sparc-sun-solaris2.8  -o cint/src/Api.o -c cint/src/Api.cxx
"/isdc/sw/compilers/WS/7/SUNWspro/prod/include/CC/Cstd/./functional", line 162: 
Error: The base "std::binary_function<std::T, std::T, bool>" must be a previousl
y defined class or struct.
"/isdc/sw/compilers/WS/7/SUNWspro/prod/include/CC/Cstd/./set", line 82:     Wher
e: While specializing "std::less<std::T>".
"/isdc/sw/compilers/WS/7/SUNWspro/prod/include/CC/Cstd/./set", line 82:     Wher
e: Specialized in non-template code.
1 Error(s) detected.


Am I just banging my head against the wall or is this solvable?

Thanks!

cheers

bruce "who's just about to learn much more about templates then he
knew before"

-- 
Reality is 80m polygons - Alvy Ray Smith

Bruce O'Neel                       phone:  +41 22 950 91 57
INTEGRAL Science Data Centre               +41 22 950 91 00 (switchb.)
Chemin d'Ecogia 16                 fax:    +41 22 950 91 35
CH-1290 VERSOIX                    e-mail: Bruce.Oneel@obs.unige.ch
Switzerland                        WWW:    http://isdc.unige.ch/



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET