The document is archived and information here might be outdated
Compiler Warning (level 1) C4506
Visual Studio 2005
Error Messageno definition for inline function 'function'
The given function was declared and marked for inlining but was not defined.
The compiler did not inline the function.
Make sure that external functions to be inlined are declared with the extern keyword.