共用方式為


編譯器警告 (層級 1) C4518

'specifier': storage-class 或 type specifier(s) 未預期在這裡;忽視

Example

下列範例會產生 C4518:

// C4518.cpp
// compile with: /c /W1
_declspec(dllexport) extern "C" void MyFunction();   // C4518

extern "C" void MyFunction();   // OK