OpenXRay/xray-16

Compiler warnings elimination

开放

#713 创建于 2021年1月8日

 (1 条评论) (0 个反应) (1 位负责人)C++ (519 个派生)auto 404
Code QualityHelp wantedPortability

仓库指标

星标
 (3,524 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Starting from the creation of this task, #116 is a subtask of this task.

MSVC:

  • MSBuild
    • Enable "warnings are errors" mode (is it possible?)
  • Compiler
    • Enable conformance mode
    • Enable "warnings are errors" mode
    • Raise the warning level to 4
      • Level 1
      • Level 2
      • Level 3
      • Level 4
  • Linker
    • Enable "warnings are errors" mode

GCC:

  • CMake and make
    • Enable "warnings are errors" mode (is it possible?)
  • Compiler
    • Disable permissive mode
    • Maybe enable pedantic mode
    • Enable "warnings are errors" mode
    • Raise the warning level to 4
      • Level 1
      • Level 2
      • Level 3
      • Level 4
  • Linker
    • Enable "warnings are errors" mode

For history:

  • List all warnings elimination commits in this issue

Tools: PVS-Studio CppDepend (includes cppcheck, Clang-Tidy, Vera++) ReSharper C++ (includes Clang and Clang-Tidy check plus it's own analysis) Visual Assist (has it's own code inspection)

https://habr.com/ru/articles/75123/ https://habr.com/ru/companies/pvs-studio/articles/303664/

贡献者指南