compiling with egcs on DU 4.0D

Wolfgang Korsch (wkorsch@server1.pa.uky.edu)
Mon, 4 Jan 1999 14:50:45 -0500


Hi,
I tried to compile the files in the root test directory and I got the
following error:

g++ -O -I/usr/local2/cern/root/include -fPIC -fno-rtti -fno-exceptions
-mcpu=ev5 -D__osf__ -D__a
lpha -c Event.cxx
g++ -O -I/usr/local2/cern/root/include -fPIC -fno-rtti -fno-exceptions
-mcpu=ev5 -D__osf__ -D__a
lpha -c EventDict.cxx
In file included from EventDict.h:26,
from EventDict.cxx:4:
/usr/local2/cern/root/include/TROOT.h:172: invalid type `const char[3]' for
default argument to `
Text_t *'
*** Exit 1
Stop.

I run the following version of g++ (egcs):

Reading specs from
/usr/local2/lib/gcc-lib/alphaev56-dec-osf4.0d/egcs-2.92.33/specs
gcc version egcs-2.92.33 19981226 (gcc2 ss-980609 experimental)

Any ideas?

Thanks.

Wolfgang