E2562 Function defined with different linkage

From RAD Studio
Jump to: navigation, search

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() {
	}