E2562 Function defined with different linkage
Go Up to Compiler Errors And Warnings (C++) Index
This happens when function linkage differs between the declaration and the definition.
class C {
void f();
};
void __declspec(dllexport) C::f() {
}