RE:Re: iostream.h & CINT in ROOT v2.22/04

From: Masaharu Goto (MXJ02154@nifty.ne.jp)
Date: Sun Jun 06 1999 - 15:26:49 MEST


Dear Rutger,

Let me make comment because other people may also encounter the same
problem.

First of all, it is recommended that <iostream.h> is included in
rootlogon.C.  This will prevent many other problems. I strongly recommend
this mannter.

{
  // rootlogon.C
   G__loadfile("iostream.h");
}


>Looking a bit further it seems that the problem with macros is:>
>{
>  if (whatever) {
>     #include <iostream.h>
>  }
>}
>doesn't work.

If you want to do this, you can to do 

{
  if(whatever) {
    G__loadfile("whateverthefile");
  }
}

Please remember this feature is a special CINT extension. It is recommended
that only simple things are in "whateverthefile".

Thank you
Masaharu Goto



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