Visual Studio 2015 Update 3中的增量链接器 [英] Incremental linker in Visual Studio 2015 Update 3

查看:90
本文介绍了Visual Studio 2015 Update 3中的增量链接器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我正在使用Visual Studio 2015 Update 3和我的.vcxproj文件中的节点< LinkTimeCodeGeneration>不在场。我已经看到Visual Studio 2015已自动将相关的编译选项设置为/ LTCG:incremental,而Visual Studio 2013
将其设置为/ LTCG。自从我在这里阅读

I'm using Visual Studio 2015 Update 3 and in my .vcxproj files the node <LinkTimeCodeGeneration> is not present. I've seen that Visual Studio 2015 has automatically set the related compile option to /LTCG:incremental, while Visual Studio 2013 set it to /LTCG. Since I've read here

https://developercommunity.visualstudio.com/content/problem/34236/incremental-linking-creates-corrupt-executable.html



有关于增量链接器(对应于节点< LinkIncremental>)的问题已于2017年解决,但2015年未解决,我想知道此问题是否会影响还有 < LinkTimeCodeGeneration> LTCG
设置为增量时的选项。

https://developercommunity.visualstudio.com/content/problem/34236/incremental-linking-creates-corrupt-executable.html

that there is an issue about incremental linker (corresponding to the node <LinkIncremental>) that has been resolved in 2017, but not in 2015, I would like to know if this issue may affect also the <LinkTimeCodeGeneration> option when LTCG is set to incremental.

谢谢。

Mario Mancusi

Mario Mancusi

推荐答案

嗨Mario Mancusi,

Hi Mario Mancusi,

欢迎来到MSDN论坛。

Welcome to MSDN forum.

>>> 我想知道此问题是否也会影响 < LinkTimeCodeGeneration> LTCG设置为增量时的选项。

>>>I would like to know if this issue may affect also the <LinkTimeCodeGeneration> option when LTCG is set to incremental.

您是否想要知道此问题是否可能影响< < LinkTimeCodeGeneration>选项,以便您无法在.vcxproj文件中看到它?

Do you mean that you want to know if this issue may affect the <LinkTimeCodeGeneration> option so that you could not see it in your .vcxproj files?

如果是,答案是否定的,因为Visual Studio 2015将相关的编译选项设置为/ LTCG:默认情况下为incremental,该选项将在.vcxproj中省略。如果要检查它,可以将选项更改为其他值,保存。然后r
翻译为原始值"
LinkIncremental <跨度>" ;.您将在.vcxproj中看到它。

If yes, the answer is no, that because Visual Studio 2015 set the related compile option to /LTCG:incremental by default, the option will be omitted in the .vcxproj. If you want to check it, you can change the option to other value, save it. then revert to the original value "LinkIncremental". you will see it in your .vcxproj.

如果我理解你的错误,请更详细地描述你的问题。

If I understand you incorrect, please describe your question more detail.

希望这可以帮到你。


这篇关于Visual Studio 2015 Update 3中的增量链接器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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