LNK4075:由于'/ OPT:ICF'规范而忽略'/ EDITANDCONTINUE' [英] LNK4075: ignoring '/EDITANDCONTINUE' due to '/OPT:ICF' specification
问题描述
我最近将多项目解决方案转换为每个项目使用.dlls而不是.libs。然而,我现在得到一个链接器警告每个项目,如示例中所述。 MSDN没有服务到这一切都有帮助。
I recently converted a multi-project solution to use .dlls instead of .libs for each of the projects. However, I now get a linker warning for each project as stated in the example. MSDN didn't serve to be all that helpful with this. Why is this and how can I solve it?
警告2警告LNK4075:忽略
'/ EDITANDCONTINUE'由于' OPT:ICF'
规格LudoCamera.obj
Warning 2 warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/OPT:ICF' specification LudoCamera.obj
推荐答案
编辑并继续支持或优化。通常,您在调试版本上进行编辑并继续,并对版本版本进行优化。
You can either have "Edit and continue" support or optimizations. Usually, you put "Edit and continue" on debug builds, and optimizations on release builds.
编辑并继续允许您在调试时更改代码,程序运行。如果代码也必须优化,则不支持。
Edit and continue allows you to change code while you are debugging and just keep the program running. It's not supported if the code also has to be optimized.
这篇关于LNK4075:由于'/ OPT:ICF'规范而忽略'/ EDITANDCONTINUE'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!