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