I just tracked down the problem to a very simple example, that I give below. This is a g++ bug but it's strange that it happens in a rootcint-generated file. Any help would be welcome. Damir Here is the definition of the class : TWSeries.h ---------------------------------------------------- #include <string> class TWSeries { protected: string fName; public: TWSeries(); TWSeries(const string name); virtual ~TWSeries(); string MyMethod(); }; ----------------------------------------------------------------- TWSeries.cxx----------------------------------------------------- #include "TWSeries.h" //________________________ TWSeries::TWSeries() { } //________________________ TWSeries::TWSeries(const string name) {fName = name;} //________________________ TWSeries::~TWSeries() { } //________________________ string TWSeries::MyMethod() { return fName; } ---------------------------------------------------------- LinkDef.h------------------------------------------------- #ifdef __CINT__ #pragma link off all globals; #pragma link off all classes; #pragma link off all functions; #pragma link C++ class TWSeries; #endif ----------------------------------------------------------- If I do rootcint -f G_TWSeries.cxx -c TWSeries.h LinkDef.h g++ -fPIC -I/usr/X11R6.1/include/ -O2 -I/root/root/include -c G_TWSeries.cxx I get : G_TWSeries.cxx: In function `int G__TWSeries_MyMethod_3_0(struct G__value *,char *, struct G__param *, int)': G_TWSeries.cxx:46: Internal compiler error 124. G_TWSeries.cxx:46: Please submit a full bug report to `bug-g++@prep.ai.mit.edu'. ===================================================================== | Damir Buskulic | Universite de Savoie/LAPP | | | Chemin de Bellevue, B.P. 110 | | Tel : +33 (0)450091600 | F-74941 Annecy-le-Vieux Cedex | | e-mail: buskulic@lapp.in2p3.fr | FRANCE | ===================================================================== mailto:buskulic@lapp.in2p3.fr
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:33 MET