I am currently using ROOT 6.11/01 on macOS Sierra version 10.12.6.
I see an issue with the TMinuit in the current root version.
The part of code used as:
Char_t Tag[2][255];
Double_t var[2], verr[2];
Int_t ivarbl;
Double_t bnd1, bnd2;
for (i=0; i<2; i++) {
gMinuit->mnpout( i, Tag[i], var[i], verr[i], bnd1, bnd2, ivarbl);
}
gives an error:
error: non-const lvalue reference to type ‘TString’ cannot bind to a value of unrelated type 'Char_t [255]'
gMinuit->mnpout( i, Tag[i], var[i], verr[i], bnd1, bnd2, ivarbl);
^~~~~~
root/build/include/TMinuit.h:243:48: note: passing argument to parameter ‘chnam’ here
virtual void mnpout(Int_t iuext, TString &chnam, Double_t &val, Double_t &err, Double_…
//==========================================================
How can I solve this error?
Best Regards
Sudeep