开发者

How do I turn off "warnings treated as error" in VS 2008

开发者 https://www.devze.com 2023-04-12 11:36 出处:网络
I have a project in development that I need to test, but i开发者_运维问答t won\'t compile because I have unreferenced variables and the option is enabled to turn all warnings into errors.I have google

I have a project in development that I need to test, but i开发者_运维问答t won't compile because I have unreferenced variables and the option is enabled to turn all warnings into errors. I have googled it and see that there is supposed to be a build page that I cannot find. Help where do I turn this off?

How do I turn off "warnings treated as error" in VS 2008


It would appear that for VS 2008 Pro The option is in Project»Properties»Configuration Properties»C/C++»General. As shown in the image.

How do I turn off "warnings treated as error" in VS 2008


Right click your root project folder in Solution Explorer and select 'Properties'. This should open with a bunch of horizontal tabs on the left. Click the 'Build' tab and look for the sub section labeled "Treat warnings as errors". You will probably see that the 'All' option is selected and this is what is causing your warnings to be treated as errors.

Note that this usually happens under the 'Release' profile which is more strict by default about errors than say 'Debug'.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号