Compiler Warning (level 1) C4951
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 1) C4951

Error Message

'function' has been edited since profile data was collected, function profile data not used

A function has been edited in an input module to /LTCG:PGUPDATE, so that the profile data is now not valid. The input module was recompiled after /LTCG:PGINSTRUMENT and has a function (function) with a different flow of control than was in the module at the time of the /LTCG:PGINSTRUMENT operation.

This warning is informational. To resolve this warning, run /LTCG:PGINSTRUMENT, redo all test runs, and run /LTCG:PGOPTIMIZE.

This warning would be replaced with an error if /LTCG:PGOPTIMIZE had been used.

© 2015 Microsoft