This documentation is archived and is not being maintained.

Compiler Warning (level 4) C4960

Error Message

'function' is too big to be profiled

When using /LTCG:PGOPTIMIZE, the compiler detected an input module with a function larger than 65,535 instructions. Such a large function is not available for profile-guided optimizations.

To resolve this warning, reduce the size of the function.