挂起Clang编译器的问题 [英] Hang problem with Clang compiler

查看:84
本文介绍了挂起Clang编译器的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发项目在Visual Studio 2015上使用Clang编译器。但是当我调试代码时,Visual Studio 2015经常被冻结。我猜Visual Studio 2015调试器
与Clang编译器冲突。安装最新的Clang编译器或最新的Visual Studio
  2015后,我可以发现同样的问题。最后,在将工具版本从Visual Studio 2015更改为Visual Studio 2017后,问题得以解决。

解决方案

嗨JiYongKim,


感谢您在MSDN论坛发帖。


>>我正在使用Visual Studio 2015上的Clang编译器开发项目。但是当我调试代码时,Visual Studio 2015经常被冻结


你使用哪个项目,
动态库(Windows)for Clang with Microsoft CodeGen
使用Microsoft CodeGen进行Clang的静态库(Windows)


编译时是否会出现同样的问题?


不确定是什么原因引起了你的问题,我找到了类似的帖子" clang compiler
挂在窗口
",你可以看看它。


但无论如何,我很高兴您的问题在VS2017上得到了解决,感谢您分享您的解决方案。
您可以发布有关您的解决方案的单一回复,并将其标记为答案,这可以帮助其他社区成员快速解决他们可能与您的问题相同的问题。


感谢您的支持支持。


问候,


Judyzh


I am developing the project using Clang compiler on Visual Studio 2015. But When I debug a code, Visual studio 2015 is often frozen. I guess Visual Studio 2015 debugger conflicts with Clang complier. I can find the same problem after installing the newest Clang compiler or the newest Visual Studio  2015. Finally the problem is resolved after changing the tool version from Visual Studio 2015 to Visual Studio 2017.

解决方案

Hi JiYongKim,

Thank you posting in MSDN forum.

>> I am developing the project using Clang compiler on Visual Studio 2015. But When I debug a code, Visual studio 2015 is often frozen

Which project do you use, Dynamic Library (Windows) for Clang with Microsoft CodeGen or Static Library (Windows) for Clang with Microsoft CodeGen?

Does the same problem occur when compiling?

Unsure what caused your problem, I have find a similar thread "clang compiler hangs on windows", you could have a look at it.

But anyway, I'm glad your question was solved on VS2017, and thanks for you sharing your solution. You could post a single reply about your solution, and mark it as an answer, this could help other community member quick resolved their issue who might the same issue as yours.

Thanks for your support.

Regards,

Judyzh


这篇关于挂起Clang编译器的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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