Export (0) Print
Expand All
Expand Minimize

Compiler Warning (level 1) C4518

'specifier' : storage-class or type specifier(s) unexpected here; ignored

The following sample generates C4518:

// C4518.cpp
// compile with: /WX /LD
__declspec(dllexport) extern "C" void MyFunction();   // C4518
class C
{
   int * virtual vfunc();   // C4518
};
Show:
© 2014 Microsoft