Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Compiler Warning (level 4) C4514
Collapse the table of content
Expand the table of content

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()

Community Additions

© 2015 Microsoft