简体   繁体   中英

How do I enable all warnings in Visual Studio 2008 in a project?

I want to print all the warnings in my project built in VS2008. As has been suggested at other questions, the project properties only gives me up to /W4 level warnings when I want to enable /Wall . Below is a snapshot of properties. Is there a way to enable /Wall in VS2008 for a project?

在此输入图像描述

I assume you are working with C++? In this case, you can add this flag in the "Command Line" options directly:

在此输入图像描述

Notice that the output can be too verbose to be usable.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM