Compiler Warning (level 1) C4656

'symbol' : data type is new or has changed since the last build, or is defined differently elsewhere

You added or changed a data type, making it new to your source code since the last successful build. Adding or changing a member of a class or struct will cause this warning. Edit and Continue only supports data types that were present in your source code during the latest build.

To remove this warning without ending the current debug session, change the data type back to its state before it produced this warning. Then select the Apply Code Changes command on the Debug menu.

To remove this warning without changing your source code, stop the current debug session by selecting Stop Debugging from the Debug menu.  Select Build from the Build menu.  After a successful build, you may debug the current source code.

If you did not change the data type in any way, look for other definitions of this data type in your source code. You may find that one of the definitions is different from the definition referenced by this warning. Change one of the definitions to match the other.

This warning will always be followed by a C1092 error.  For further information, see the Limitations of Edit and Continue.

The following code, when entered while the debugger is running, will generate this error after you click Apply Code Changes on the Debug menu.

struct bar {
int i;
} varname;