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