Re: [ROOT] TVirtualGeoTrack, TObjArray not defined

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Mar 05 2004 - 08:51:41 MET


Hi Lee,

Thanks for reporting this typo. Now fixed in CVS.

Rene Brun

"LEE, KERRY T. (JSC-SR) (UHCL)" wrote:
> 
> Hi Andrei,
> 
> I am using ROOT 4.00/02 and in when I try to use TVirtualGeoTrack the
> compiler complained about TObjArray.  When looking at the TVirtualGeoTrack.h
> code, there is an error in the include list.  Instead of
> 
> #ifndef ROOT_TObject   //Should be ROOT_TObjArray
> #include "TObArray.h"  //missing a j
> #endif
> 
> it should be
> 
> #ifbdef ROOT_TObjArray
> #include "TObjArray.h"
> #endif
> 
> After I changed these two things everything compiled fine.  I looked at
> version 4.00/00 and 3.10/02 code and the bug exists there too.  Easy to miss
> if TObjArray.h is included elsewhere.
> 
> Thanks
> Kerry



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:06 MET