同一个文件有什么不同? [英] The same file is different?

查看:82
本文介绍了同一个文件有什么不同?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我编译了我的代码并尝试通过调试器运行它。  我收到一条消息:

I compiled my code and attempted to run it through the debugger.  I got a message that stated:

< file.h>的副本在$
< drive>中找到:< path> \< file.h>,

但是当前的源代码与内置的版本不同

< drive>:< path> \< file.h>。

A copy of <file.h> was found in
<drive>:<path>\<file.h>,
but the current source code is different from the version built into
<drive>:<path>\<file.h>.

是的,调试器说文件不同于文件。  为了确保它实际上是相同的文件名,我使用gimp粘贴对话框并在其上粘贴第二个半透明,以确保文件名确实是
相同。

Yes, the debugger is saying that a file is different from that same file.  Just to ensure that it was actually the same filename, I used gimp to paste the dialogue and pasted a 2nd semi transparent on top of it to ensure that the filenames were indeed the same.

WTF?  这是一个已知问题吗?

WTF?  Is this a known issue?

我不介意有人将帖子标记为"建议"作为答案",但不要将其标记为"已回答"。如果我是OP,我将决定帖子是否真的回答了我的帖子。谢谢。

I don't mind someone marking a post as "Proposed as answer", but DO NOT mark it as "Answered". If I am the OP, I will decide if a post actually answers my post or not. Thank you.

推荐答案

只要知道,调试器会比较私有pdb文件中存储的源文件的MD5哈希值。使用dia2dump - 使用当前MD5-hash文件 - (可以使用fciv检索)。但是有   

http://stackoverflow.com/questions/29913805/visual-studio-warning-about-copies-of-files-with-different-contents



https://social.msdn.microsoft.com/Forums/windowsapps/en-US/fc14870d-60b2-4701-abd0-fe541ac90e72/release- mode-file-sync-issue-current-source-code-different-from-the-built-built?forum = toolsforwinapps




亲切的问候
Just know, debugger compares a MD5-hash of a source-file stored in private pdb-file - info available e.g. with dia2dump - with current MD5-hash of file - (which can be retrieved with fciv). But there is   
http://stackoverflow.com/questions/29913805/visual-studio-warning-about-copies-of-files-with-different-contents
and
https://social.msdn.microsoft.com/Forums/windowsapps/en-US/fc14870d-60b2-4701-abd0-fe541ac90e72/release-mode-file-sync-issue-current-source-code-different-from-the-version-built?forum=toolsforwinapps

With kind regards


这篇关于同一个文件有什么不同?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆