#include <vector>
testmacro() {
std::vector<Int_t> vec;
}
and running
root [0] .x testmacro.C
root [1] .x testmacro.C
gives me a segv with Warning: template pair duplicate definition1FILE:C:\root\cint\stl\_pair.h LINE:2
Warning: template vector duplicate definitionNE:35:C:\root\cint\stl\_vector.h LI (Yes, the long line problem with win32gdk is not fixed yet.) How can I avoid that? Am I doing something wrong here?
Axel.
Hi Philippe,
uh, interpreting the headers isn’t supposed to work? No, I didn’t generate the cintdlls. Hmm. It would be nice if there was a way to tell the stupid user like me to generate the dlls rather than letting root seg fault…