On Wed, 24 Sep 1997, Pasha Murat wrote: > your problem is reproducible. I'd also like to mention that Valery is > also right: if you load labelArea.cc interactively (w/o building your > executable) then everything is OK: > > root[0] .L labelArea.cc > root [1] labelArea myvar; > root [2] myvar.areaData[1].lowerX[0] = 1; That's true - interactively everything is ok. > I see 2 potential sources of confusion: > > - 2 nested class declarations This may be, but I don't know (I am beginner and don't know what is forbidden to use from c++ in ROOT). > - non-default constructor coinsides with the default one... Certainly not. I changed my constructor just to labelArea::labelArea() : howManyRings(5) { areaData = new areaHolder[5]; } and the problem still remains (segmentation violation). I want to notice this is the only problem I have untill now, all other classes (not nested) compiled & linked into new ROOT work fine. Witek
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:21 MET