Microsoft/calculator

Enable code analysis on all projects and resolve warnings

Open

#693 创建于 2019年10月1日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)C++ (16,196 star) (2,422 fork)batch import
Pri: 2approvedbuildcodebase qualityhelp wanted

描述

Visual Studio's code analysis tools can help find issues in our C++ code. Eventually, it would be great to have these tools running in all of our builds and to fix all the warnings they generate.

See #689 for an example of how to enable the tools during the build. We'll enable code analysis only in the "Release" configuration to avoid slowing down Debug builds.

To see which warnings still need to be fixed, check a recent build from the master branch.

It would be best to submit fixes for unrelated warnings as separate PRs. I'll close out this issue when 1) all C++ projects are building with code analysis rules on and 2) all the warnings generated by those tools are fixed or silenced.

贡献者指南

Enable code analysis on all projects and resolve warnings · Microsoft/calculator#693 | Good First Issue