This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C2000: output binary files are different after variable name change

Guru 20045 points


Hello,

The output binary image changed after I changed a bunch of variable names in my c++ source,

I have suppressed symbolic debug, unchecked "Keep unreferenced type info" and I compiling the source with the same compilier version and runtime library.  

What else do I need to do?

Stephen

  • Comparing the entire executable image file is inherently flawed.  All sorts of things can be legitimately different, yet have no impact on what happens upon execution.  One example is time stamps.  

    The solution is to do the comparison with the objdiff utility from the cg_xml package.  It ignores things like time stamps.

    Thanks and regards,

    -George