Compiler Warning (level 4) C4514
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

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()
© 2015 Microsoft