Compiler Warning (level 1) C4518
'specifier' : storage-class or type specifier(s) unexpected here; ignored
The following sample generates C4518:
// C4518.cpp
// compile with: /c /W1
_declspec(dllexport) extern "C" void MyFunction(); // C4518
extern "C" void MyFunction(); // 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