Edit

Share via


Compiler Warning (level 4) C4514

'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
{
   public:
      void func()   // C4514, remove the function to resolve
      {
      }
};

int main()
{
}