HI, I have encountered a problem while developing some code I use root Version 3.00/06 cint version 5.14.79 I have 2 classes like following: class TPhPadEventAttr{ TAttMarker fClusterMarker; .... ClassDef(TPhPadEventAttr,1) }; class TPhPadEvent:public TObject,public TPhPadEventAttr{ ....... ClassDef(TPhPadEvent,1) }; so TPhPadEvent inherit from TPhPadEventAttr since I need manual streamer, I do following in my LinkDef.h: #ifdef __CINT__ #pragma link off all globals; #pragma link off all classes; #pragma link off all functions; #pragma link C++ class TPhPadEventAttr-!; #pragma link C++ class TPhPadEvent; #endif /* __CINT__ */ but when I compile the code, I got following error message: TPhPadEventDict.cc: In function `void R__TPhPadEventAttr_fClusterAttr(class TBuffer &, void *, int)': TPhPadEventDict.cc:46: no match for `TBuffer & << TAttMarker *&' why "-!" option in LinkDef.h does not turn off TBuffer& ??? this never happened to me when I use root 2.23 please help thanks, Jiangyong ************************************************ jjia@rcf.rhic.bnl.gov Jiangyong Jia Department of Physics State University New York at Stony Brook Stony Brook, New York 11794-3800 Tel.631-344-5455 *********************************************
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:44 MET