禁用优化是Visual C ++ Express [英] Disable optimiozation is Visual C++ Express

查看:103
本文介绍了禁用优化是Visual C ++ Express的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi
如何在Visual C ++ Express 2010中禁用优化?我搜索了这个数据库以获取建议所有答案都引用Visual Studio下的属性。我没有找到这个起点。



问候,Roland

Hi How do I disable optimization in Visual C++ Express 2010? I searched this database for advice. All answers refer to Properties under Visual Studio. I haven't found this starting point.

Regards, Roland

推荐答案

这是重要的构建选项之一,它始终可用。



要找到它,你可以使用配置。通常,如果您从Microsoft模板创建一个全新的项目,它会为您提供两个预定义的配置;一个叫做调试,另一个是发布。配置Debug禁用优化并启用调试信息,Release - 恰恰相反。循环两个配置的所有预定义选项并进行比较;有关编译器和链接器的文档的地址,以解释相关的每个选项。



-SA
This is one of the important build options, something which is always available.

To find it out, you can use Configurations. Normally, if you create a brand new project from a Microsoft template, it gives you two predefined configuration; one is called "Debug", another is "Release". The configuration "Debug" disables optimizations and enables debug information, "Release" — does just the opposite. Loop at all of the predefined options for both configurations and compare; address to the documentation on the compiler and the linker, for explanation of each option in question.

—SA


项目 - >属性 - > C / C ++ - >优化可以让您到达可以更改它的位置。
Project -> Properties -> C/C++ -> Optimization should get you to where you can change it.


这篇关于禁用优化是Visual C ++ Express的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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