Linker Tools Warning LNK4065

'function' cannot be ordered; ignored

The given function was not compiled as a packaged function. Recompile using /Gy.