Compiler Warning (level 4) C4514
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

Compiler Warning (level 4) C4514

Error Message

'function' : unreferenced inline function has been removed

The optimizer removed an inline function that is not called.

This warning is off by default. See Compiler Warnings That Are Off by Default for more information.

The following sample generates C4514:

// C4514.cpp
// compile with: /W4
#pragma warning(default : 4514)
class A
      void func()   // C4514, remove the function to resolve

int main()
© 2016 Microsoft