Compiler Warning (level 1) C4951
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

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.

© 2016 Microsoft