Re:rootcint pb

Masaharu Goto (MXJ02154@niftyserve.or.jp)
Fri, 08 May 1998 22:05:00 +0900


Yves,

Rene already answered your question, but separating pointer definition in
each line does not looks like a fundamental fix.

I looked into the problem and found out position of ClassDef is a problem.
In your header file , ClassDef macro is used in the middle of class definition
.
Problem goes away if I move it to the end of class definition.

Note that rootcint processes ClassDef in very special way. It is also
important that // comment string is a special handling too. It seems that
combination of those 2 original extentions in the middle of class definition
causes the problem. Please use ClassDef at the very end of class definition.

class TMyClass : TObject {
...
ClassDef(TMyClass,1) // My class
};

Masaharu Goto