Hi Martin,
Thanks for reporting this problem. We are currently working on a fix. I
have not found any workable work-around :(
I will let know as soon as we have a solution.
Cheers,
Philippe.
-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Martin
Schulte-Wissermann
Sent: Monday, May 12, 2003 3:56 AM
To: roottalk@cern.ch
Subject: [ROOT] what happend to Option_t
Hi,
i notice following behaviour with root_v3.05.04 (CVS, friday) and
cint:
a macro:
// does not work:
void opttest(Option_t *opt=""){ cout <<"bu!"<<endl; }
// works fine:
//void opttest(Text_t *opt=""){cout <<"bu!"<<endl; }
//void opttest(char *opt=""){cout <<"bu!"<<endl; }
With 'Option_t' the function can't be called:
root [0] .L ttt2.C
root [1] opttest("hhh")
Error: Function opttest("hhh") is not defined in current scope
FILE:(tmpfile) LINE:1
Possible candidates are...
filename line:size busy function type and name
ttt2.C 2:1 0 public: void opttest(Option_t* opt="");
*** Interpreter error recovered ***
This is sad, since i have very many functions like this.
cheers,
martin
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:11 MET