且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将所有警告视为错误,除了一些

更新时间:2021-09-05 22:34:11

没有

曾有用户建议将此类功能添加到 Visual C++,但该项目已被 Visual Studio 团队关闭 (https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/2597342-extend-c-to-treat-all-warnings-as-errors-except).

There was a user suggestion to add such a feature to Visual C++, but the item was closed by the Visual Studio Team (https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/2597342-extend-c-to-treat-all-warnings-as-errors-except).

您可以将特定警告视为错误:我可以吗?将特定警告视为错误?

You can just treat specific warnings as errors: Can I treat a specific warning as an error?