description | title | ms.date | f1_keywords | helpviewer_keywords | ||
---|---|---|---|---|---|---|
Learn more about: Compiler Error C2537 | Compiler Error C2537 | 03/08/2024 |
|
|
'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: /cextern"c"voidfunc1(); // C2537extern"C"voidfunc2(); // OKextern"C++"voidfunc3(); // OK