在Visual Studio中/ Gm和/ ZW之间不兼容的原因是什么? [英] What is the reason for the incompatibility between /Gm and /ZW in Visual Studio?

查看:885
本文介绍了在Visual Studio中/ Gm和/ ZW之间不兼容的原因是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

/ Gm(启用最小重建)(我不允许在此处插入链接)  for VS2017包含以下声明:


因为增量链接器不支持使用/ ZW(Windows运行时编译)包含在.obj文件中的Windows元数据
选项,/ Gm选项与/ ZW不兼容。


/ ZW(Windows运行时编译) (我不允许在此处插入链接)  重复
同样的评论。


解决方案

嗨Joao Bellochio,


欢迎来到MSDN论坛。


请参阅您的描述,您的问题是关于C ++开发。由于我们的论坛是讨论VS IDE,我将帮助您 ove
这个帖子到这个合适的论坛:
Visual
Studio Languages




Visual C ++
寻找 获得更专业的支持,感谢您的理解。




最好的问候,


萨拉


/Gm (Enable Minimal Rebuild) (I was not allowed to insert the link here) for VS2017 contains this statement:

Because the incremental linker does not support the Windows metadata included in .obj files by using the /ZW (Windows Runtime Compilation) option, the /Gm option is incompatible with /ZW.

/ZW (Windows Runtime Compilation) (I was not allowed to insert the link here) repeats the same remark.

解决方案

Hi Joao Bellochio,

Welcome to the MSDN forum.

Refer to your description, your issue is about the C++ development. Since our forum is to discuss the VS IDE, I will help you move this thread to this appropriate forum: Visual Studio Languages

Visual C++ to seek for a more professional support, thank you for your understanding.

Best regards,

Sara


这篇关于在Visual Studio中/ Gm和/ ZW之间不兼容的原因是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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