Problems compiling latest CVS with VC7.1

Hi Rooters

I just tried to compile the latest CVS version with Vc7.1.
As I tried to compile TMVA last week, I was allready aware of the problems compiling with Vc7.1. I have listed the problems found and workarounds below:

NodeKNN.h
std::list list // This gives an error in Vc7.1
Changed to
std::list alist

Rulefit.h
could not find std::random_shuffle
added
#include

MethodKNN.cxx
could not find std::count
added
#include

MethodLikelihood.cxx line 716:
Int_t nbin[GetNvar()]; // This gives an error in Vc7.1
changed to
Int_t *nbin = new Int_t[GetNvar()];

ModuleKNN.cxx
could not find std::sort
added
#include

Config.h line 67
error TMVA::Config::VariablePlotting’ : cannot access private class …
removed
private

Linking with libMinuit.lib fails

Best Regards
Preben

Hi,

The problem has been solved in CVS head.
Thanks for the report.

Bertrand.