[ROOT] ClassDef statement is ignored...

From: Dr. John Krane (jkrane@netzero.com)
Date: Fri Jun 20 2003 - 16:06:44 MEST


Hi,

Has anybody had the problem where ClassDef is correctly in your class 
but it is completely ignored by root?  When I .L ObjDate.cpp, I get

Error in <ObjDate>: ObjDate inherits from TObject but does not have its 
own ClassDef

...but it does!  From my header:

#ifndef ObjDate_H
#define ObjDate_H
#include "TObject.h"
// define as v1
ClassDef(ObjDate,1)
class ObjDate : public TObject {
  public:
   ObjDate();

...etc.

Could there be any reason for this behavior?

  	- John



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:12 MET