开发者

#include <map> statement consuming lot of time for building my project using VS 2008

One of my project is not building (after so many hours also) ... Its not proceeding further ... The psuedocode is like this:

While building my project with Visual Studio 2008:

#pragma message("This is going to Include map.h")
#include <map>
#pragma message("The Included operation of map.h over")

For the above code snippet, the build output is showing the first message and the second message is not at all displaying (even after several hours).开发者_开发知识库 What might be caused this problem?. What could be wrong with the include <map> statement?


I would try using process explorer from sysinternals to see what files are being accessed during compilation. Could it be that you've got networked #include paths?


@Edric

The VS 2008 Include files option has all the paths from local disk only. i.e., Tools ->Options->VC++ Directories -> Include files -> all the paths are from the local disk.

Can you elaborate on process explorer from sysinternals to see what files are being accessed during compilation. How to use?


after several hours... doesn't sound like a compiler problem, more like a fault with the computer or filesystem. Open map in notepad and see if that takes time, run chkdsk to see if there are faults on the disk.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜