I am working on a VS 2012 project and i am using an already compiled static library (that was compiled in VS 2013). The library references the "vacopy" method that is VS 2013 compatible but not found in VS 2012.
When I compile my cpp project, I get the linking error : error LNK2019: unresolved symbol __imp___vacopy
My first reflex was to add the declaration and definition of va_copy in my project, so I included the following:
in a header file :
void va_copy(va_list dest, va_list src);
in a cpp file :
void va_copy(va_list dest,va_list src)
{
dest = src;
}
But this didn't resolve the problem, I still get the same linking error.
Thanks in advance for your answers.