[ROOT] Re: ROOT-errors (fwd)

From: Vladimir Pechenov (pechenov@gsi.de)
Date: Fri May 12 2000 - 14:26:48 MEST


 Hello, 
 
I have experienced new behaviour of rootcint package trying to update
my program to the newest version of ROOT (224-04)

Here is a simplified version of my Class

> 
> 
> 
> #ifndef HMYCLASS_H
> #define HMYCLASS_H
> 
> #include "TObject.h"
>  
> class HMyClass : public TObject {
> protected: 
>   // ...
>   Int_t* array;
>   // ...
> public:
>   HMyClass(Int_t len);
>   ~HMyClass();
>   Int_t getVl(Int_t n) {return array[n];}
>   void setVl(Int_t n, Int_t v) {array[n]=v;}
>   // ...
>   ClassDef(HMyClass,1)
> };
> 
> #endif  /*!HMYCLASS_H*/
> 
> ------------------------------------------------
> 
> #include "hmyclass.h"
> 
> ClassImp(HMyClass)
> 
> 
> HMyClass::HMyClass(Int_t n) {
>   // ...
>   array= new Int_t [n];
>   // ...
> }
> 
> HMyClass::~HMyClass() {
>   delete [] array;
>   // ...
> }
> 
> ------------------------------------------------


and while creating the dictionnary i got this message from rootcint:

> 
> *** Datamember HMyClass::array: size of array () UNKNOWN ERROR!!!!!
> *** Datamember HMyClass::array: pointer to fundamental type (need manual
> intervention)  
> 
> 

Note that this message disappear when i disable object IO putting
ClassDef(HMyClass,0).

Any Hints?
                                           
                                      Vladimir and Denis 
                                                         
                                        



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:25 MET