Re: TROOT::Reset: potential conflict with CINT ?

From: Nick van Eijndhoven (Nick@fys.ruu.nl)
Date: Fri Sep 12 1997 - 09:22:13 MEST


*** Pasha Murat wrote :
> 
> 
> It seems like TROOT::Reset() initializations conflict with with the 
> include files processing by CINT : it looks like this procedure deletes all the 
> global symbols, but doesn't reset the table of loaded files (see example below).
> 
> 			Is this guess correct ? 
> 							Thanks a lot, Pasha
> 
Hi Pasha,
I think you are right. I mentioned already some time ago that when one
does :

#include <iostream>

void main()
{
 gROOT->Reset();
 cout << "Hello" << endl;
}

One gets the iostream stuff undefined, whereas :


void main()
{
 gROOT->Reset();

#include <iostream>

 cout << "Hello" << endl;
}

Works correctly.

                                              Cheers,
                                               Nick.
*----------------------------------------------------------------------*
 Dr. Nick van Eijndhoven                Department of Subatomic Physics
 email : nick@fys.ruu.nl                Utrecht University / NIKHEF
 tel. +31-30-2532331 (direct)           P.O. Box 80.000
 tel. +31-30-2531492 (secr.)            NL-3508 TA Utrecht
 fax. +31-30-2518689                    The Netherlands
 WWW : http://www.fys.ruu.nl/~nick      Office : Ornstein lab. 172
 ----------------------------------------------------------------------
 tel. +41-22-7679751 (direct)           CERN PPE Division / ALICE exp.
 tel. +41-22-7675857 (secr.)            CH-1211 Geneva 23
 fax. +41-22-7679480                    Switzerland
 CERN beep : 13+7294                    Office : B 160 1-012
*----------------------------------------------------------------------*



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