>
> 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.
>
>
> Wolfgang
>
>
Yes I have run into this too. I found that adding the
option -fwritable-strings will fix it.
CXX = g++
CXXFLAGS = -O -I$(ROOTSYS)/include -fPIC -fno-rtti -fno-exceptions \
-fwritable-strings -mcpu=ev5 -D__osf__ -D__alpha
I see that I have added to:
LDFLAGS = -g -fwritable-strings
but I don't think that's needed...
--
Paul M. Eugenio
Dept. of Physics
Carnegie Mellon University
(412) 268 6949
eugenio@ernest.phys.cmu.edu
_____________________________________________________
/ The scholar should know; one builds science with \
o O 0 / the facts just like a house can be built of stones; \
o | but an accumulation of facts is not a science just like |
`\|||/ \ that a pile of stones is not a house. /
(o o) \_____________________________________________________/
ooO_(_)_Ooo___________________________________________Henri Poincare'_
_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|____
__|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_
_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|____
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:27 MET