设置断点,debug时出现的

The source file is different from when the module was built. Would you like the debugger to use it anyway?

 
google里看到的,答案:

In win7 with the system locale in Chinese, it can be reproduced in VS 2005 and VS 2008 by adding a non-ASCII(eg: 0xa9) character into comment or license header of a source file.

It seems that cl.exe and vs debugger haven't processed non-ASCII characters in the same way, so they got different MD5 checksums.

我在该文件的开头的注释里先加几个汉字,然后解决了。。。。汗。。
posted on 2013-11-12 15:08  裴银祥的博客园  阅读(601)  评论(0)    收藏  举报