Hi,
I tried generating precompiled file using
"cint.exe -nGenerate.cxx -c-1 example.h"
example.h
#include
using namespace std;
std::vector test1;
int functionXyz();
When i compiled this generate file(Generate.cxx) with CINT project I was getting below error.
error C2664: ‘std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types>>::_Vector_const_iterator(const std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types>> &)’ : cannot convert argument 1 from ‘int *’ to ‘const std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types>> &’
Generate.cxx
vector variable “test1” is creating problem.
Does anybody have an idea on this.? if so please help me to resolve this.
Thanks Inadvance,
Muthu