Hi, I’ve got code that uses an std::map<int,Hot> where Hot is a simple struct with Double_t and Bool_t members.
In my code, I’ve got:
#ifdef __MAKECINT__
#pragma link C++ class std::map<Int_t,Hot>+;
#pragma link C++ class std::map<int,Hot>+;
#endif
which was the stuff generated by GenerateDictionary. When I compile & run the code, I get this warning:
But if I try to add a #pragma line with std::map<int,Hot>+, I get this warning instead:
Warning in <TClassTable::Add>: class pair<int,Hot> already in TClassTable
Is there a way to have no warning? I understand that they are not a big problem (according to other ROOTTalk posts), but I like to minimize the warnings that my code generates.
Jean-François