TObjArray data members

From: Marco van Leeuwen (mvl@nikhef.nl)
Date: Wed Aug 04 1999 - 15:12:41 MEST


Hi all,

I am experiencing a problem with TObjArray data members (in anm interpreted
class). Fortunately, it reproduces, using the follwing simple files:

TMvlTry.h:

class TMvlTry {

public:

  TMvlTry() {;}
  ~TMvlTry() {;}

protected:

TObjArray fArr1(4);
  TObjArray fArr2(4);
};

---------------------------------------------------------

TMvlTry.C:

#include "TMvlTry.h"

---------------------------------------------------------

Now at the ROOT prompt, enter:
.L TMvlTry.C
TMvlTry a

Et voila: seg fault....

What am I doing wrong?????

Thanks,

Marco van Leeuwen



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:37 MET