RE: [ROOT] TMethodCall broken in 3.10/02?

From: Philippe Canal (pcanal@fnal.gov)
Date: Fri Feb 13 2004 - 19:44:13 MET


Hi Thomas,

I can not reproduce the problem.
Which version of CINT are you using?
What is the exact command you are using?

Cheers,
Philippe

-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Thomas Bretz
Sent: Friday, February 13, 2004 9:26 AM
To: roottalk@pcroot.cern.ch
Subject: [ROOT] TMethodCall broken in 3.10/02?


Dear all,

I have a problem sind 3.10/02

I'm calling in a macro:

Double_t MyFunc(Double_t d)
{
     return 0;
}

TMethodCall *call = new TMethodCall;
call->InitWithPrototype("MyFunc", "Double_t");
Double_t d = 5;
call->SetParamPtrs(&d);

and I get:

Error: G__CallFunc::SetArgArray() must be initialized with 
'G__CallFunc::SetFunc(G__ClassInfo* cls,char* fname,char* args,long* 
poffset)' first

What does it mean? What is wrong now, which has worked for months now 
with 3.05/07 and earlier versions?

Thanks,
Thomas.



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:05 MET