Export (0) Print
Expand All
Expand Minimize
1 out of 17 rated this helpful - Rate this topic

Compiler Warning (level 1) C4518

Error Message

'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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.