RE: [ROOT] CINT bug ?

From: Philippe Canal (pcanal@fnal.gov)
Date: Fri Mar 01 2002 - 15:46:07 MET


Hi Jacek,

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).  

In your case, using 'c' at the time of 'root[2]' would have been
an illegal operation anyway.

Cheers,
Philippe.

-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Jacek M. Holeczek
Sent: Friday, March 01, 2002 3:58 AM
To: RootTalk
Subject: [ROOT] CINT bug ?


See the following :
	root [0] TCanvas *c = new TCanvas()
	root [1] c
	(class TCanvas*)0x8672188
	// Now Close the Canvas using menu "File -> Close Canvas"
	root [2] c
	Error: Symbol c is not defined in current scope FILE:/tmp/fileeFkT8z_cint LINE:1
	*** Interpreter error recovered ***
Best regards,
Jacek.



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