rootcint problem

ROHLFS Reiner (Reiner.Rohlfs@obs.unige.ch)
Thu, 05 Feb 1998 17:12:26 +0100 (MET)


Hi Rooters,

please have a look to these files:

MultiLineGraph.h:
------------------------------------------------
#include "TGraph.h"
#include "TList.h"

class MultiLineGraph : public TGraph
{
ClassDef(MultiLineGraph, 1)
TList m_lineDesList;
};
------------------------------------------------

and MLGLinkDef.h
------------------------------------------------
#ifdef __CINT__

#pragma link off all globals;
#pragma link off all classes;
#pragma link off all functions;

#pragma link C++ class MultiLineGraph;

#endif
------------------------------------------------

I create the file mgl_lib.cpp with this command:
rootcint -f mgl_lib.cpp -c MultiLineGraph.h MLGLinkDef.h

and now I try to compile it with this command:
CC -g -I/isdc/software/root/include -c mgl_lib.cpp

But I get this error message:
"mgl_lib.cpp", line 94: Error: TCollection::TCollection(const TCollection&) is
not accessible from TSeqCollection::TSeqCollection(TSeqCollection&).
1 Error(s) detected.
*** Error code 1
make: Fatal error: Command failed for target `mgl_lib.o'
Exit 1

With Version Sun/Solaris for SPARC 1.03/07 everything worked fine. But with
version 1.03/09 I'm not able to compile this file.

Cheers Reiner.