Compiler Error C2526
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at Compiler Error C2526.
identifier1' : C linkage function cannot return C++ class 'identifier2'
A function defined with C linkage cannot return a user-defined type.
Show: