Re: [ROOT] CINT bug ?

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Mar 08 2002 - 11:46:58 MET


Hi Jacek,

Suppose the following session:
  TCanvas c1
  h.Draw();
  // now kill the canvas via the canvas file menu

What do you expect at this point with the object c1?
We decided a long time ago that all CINT GLOBAL variables pointing to objects
being deleted were removed from the CINT list of global variables.
What is wrong with that ?

Rene Brun

Jacek M. Holeczek wrote:
> 
> >
> > This is actually a 'feature' of CINT.
> >
> > Closing the canvas using the "File -> Close Canvas", provokes the
> > deletion of the canvas object.  In turn CINT contains protection
> > against accessing object deleted from the GUI (it removes the
> > variable that he knows point to it).
> 
> Disappearance of a defined variable in C/C++ from a (global) scope you
> call a "feature" ???
> I call it a severe bug in CINT !!!
> Jacek.



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:45 MET