While compiling a C code, I\'m getting the following error:
c:\\users\\kbarman\\documents\\mser\\vlfeat-0.9.13-try\\mser\\stringop.c(71): error C2491: \'vl_s
As documentation states, dllimport function are not allowed to have a body right there.
[...] functions can be declared as dllimports but not defined as dllimports.
// function definition
void __declspec(dllimport) funcB() {} // C2491
// function declaration
void __declspec(dllimport) funcB(); // OK