[ROOT] RE:Re: CINT init_cint after scratch_all?

From: Masaharu Goto (MXJ02154@nifty.ne.jp)
Date: Mon Jul 09 2001 - 22:36:50 MEST


Hello Christoph,


>Thanks you for your detailed answer,
>now I feel much better about my bug :-)
>I will try your suggestion of calling G__cpp_setupXXX explicitly
>If I understood correctly, I only need to do this on Windows, right?

I think so. For UNIX, Cint initializes dictionary within G__init_cint.
There is a G__globalsetup function in $CINTSYSDIR/main/G__setup.c. 
There, G__CPPLINK_ON is defined so that initialization routine is
called. If you want to maintain the same code for both Windows and
UNIX, you can eliminate this line in G__setup.c and call it explicitly
in your application.  This case, please be careful about other side
effect if you modify original G__setup.c.

Thank you
Masaharu Goto



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:51 MET