Dear Rene,
it seems there is a bug in the TMethodCall class of root3.05, which was
absent in the root3.02: I define the prototype of macro wich accetps Int_t
argument. If the macro is compiled, it incorrectly passes argument=0 (it
passes -1 instead) while in interpreted mode everything seems OK.
fUserMacro->InitWithPrototype("UserMacro.C++","Int_t");
Int_t flag=0
fUserMacro->SetParamPtrs(&flag);
Passes -1
fUserMacro->InitWithPrototype("UserMacro.C","Int_t");
Passes 0
The attached RunUserMacro.C reproduces an error.
Regards,
Ruben Shahoyan
PS sorry if you get this message twice, 1st time it went w/o subject line
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET