Hi Florian, get the latest version of ROOT. It was a bug in rootcint that has since been fixed. Cheers, Fons. Florian Schopper wrote: > > Dear Rooters, > > I get into trouble when using a class which includes arrays of histograms. > like : > > TH1F *RelativesHist[120]; // Histogram of relative values > TH1F *SumsHist[120]; // Histogram of SigI+SigA > > With the Sun CC-compiler and Root 2.20 I get the following errormessage > > /opt/SUNWspro42/bin/CC -O -KPIC -I/afs/ipp/@sys/bin/SOFT/root/include > -c Megalyze_daq_Cint.cxx > > "Megalyze_daq_Cint.cxx", line 6313: Error: Overloading ambiguity between > "operator<<(TBuffer&, const TObject*)" and "operator<<(TBuffer&, const > TArray*)". > > "Megalyze_daq_Cint.cxx", line 6315: Error: Overloading ambiguity between > "operator<<(TBuffer&, const TObject*)" and "operator<<(TBuffer&, const > TArray*)". > > With gcc on Linux it compiles, stores the arrays ofHistograms and > rereads them with no problem. > > cheers, > Florian > > ---------------------------------------------------------------------- > Florian Schopper office: Max-Planck-Institut fuer > extraterrestrische Physik > Ludwig-Merk str. 3 Postfach 1603 > 80805 Muenchen Giessenbachstr. > phone: 49/89/3226157 85740 Garching, Germany > > phone: 49/89/3299 3625 > fax: 49/89/3299 3569 > e-mail: fls@mpe-garching.mpg.de > http://home.cern.ch/~fschoppe > ---------------------------------------------------------------------- > ----------------------------------------------------------------------- > > -- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248 WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7677910
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:35 MET