in my code, I have a class called TYellin. In the corresponding header file I define a private member which takes a pointer to another member function of the same class:
Up to now, with ROOT 5.16, everything went fine with this.
However, now that I am using ROOT 5.20, rootcint complains about a syntax error in this line when trying to create the dictionary.
Was there any change in the way one should do something like this?
[quote]Thanks for any hint towards a solution![/quote]I will take a look as soon as possible. However since this member is private you can always hide it from CINT:#ifndef __CINT__
Bool_t BracketZero(double(TYellin::*func)(const double), double &x1, double &x2);
#endif
To solve the problem (yes the CINT parser is too picky ) add a space between the return type and the paranthesis in your function parameter type:Bool_t BracketZero(double (TObject::*func)(const double), double &x1, double &x2);