RooFit's MsgLevel::ERROR and GetYValue() conflict

Hi,

I tried to use RooFit in my application on Windows today and found that the MsgLevel::ERROR enum and HypoTestInverterResult::GetYValue() give some troubles due to the fact that the macro ERROR and GetYValue are defined in wingdi.h. I add #undef for the two in my own header file and my code complied successfully, so I think two #undef’s for these should be add to Windows4Root.h maybe?

Hi,

Thanks for the report and for the suggestion. It has been applied in the master and in the v5-34-00-patches branch.

Cheers, Bertrand.