Re: Can't reload iostream.h? Part II

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Wed Apr 14 1999 - 00:50:08 MEST


Hi Stephen,

   after the execution of the roologon.C the interpreter stack gets frozen.
I.e. gROOT->Reset() will only delete just up to what was defined in the
rootlogon (so the iostream.h definitions in rootlogon survive a gROOT->Reset()).
However, if you call the Reset() before the stack is frozen (i.e. in
rootlogon.C itself) you wipe out the iosteam definitions.

Cheers, Fons.



Stephen Bailey wrote:
> 
> I just found the solution, but I'm a bit mystified about
> why it caused this problem.  I had a gROOT->Reset() call
> in my .rootlogon.cc file.  Without that reset, cout
> survives any other reset.  With the reset in there, cout
> gets blown away, never to return.  Hmmm.
> 
> Stephen

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7677910



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