RE:bool cint and branches (PR#86)

From: Masaharu Goto (MXJ02154@nifty.ne.jp)
Date: Thu Jan 28 1999 - 11:54:09 MET


Philippe,

>In 2.21/02 rootcint is able to parse class with data members of
>the type bool however Tree::Branch in split mode does not handle
>nicely. 
>
>In the "if" statements starting at line 552: if (dm->IsaPointer()) {
>the bool data members is not considered a pointer nor a basic data type
>as a consequence the variable branch1 is __NOT__ set and 
>line 558: branch1->SetOffset(offset);
>core dumps !!!
>
>If the solution is to ignore the bool data menbers, one just need to
>add line 532: Branch1 = 0; // set to zero before each real data type
>and make line 588: if (branch1) branch1->SetOffset(offset);

I did not get the circumstances. Will you elaborate the context?  Which file
is the line 552-558?  What is the type of dm?  so on...

Masaharu Goto



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