Compiler Error C2537
'specifier' : illegal linkage specification
The linkage specifier is not supported. Only the "C" and "C++" linkage specifiers are supported.
The following sample generates C2537:
// C2537.cpp
// compile with: /c
extern "c" void func1(); // C2537
extern "C" void func2(); // OK
extern "C++" void func3(); // OK
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for