xray-16
xray-16 copied to clipboard
Compiler warnings elimination
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
- [x] Enable conformance mode
- [x] Enable "warnings are errors" mode
- [ ] Raise the warning level to 4
- [x] Level 1
- [x] 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
- [x] 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/
Some work: 64ab9ce005a56dd969e73b31677653d18f4ad319 5460f48ae5877d89e5921f53ad47a5a2a03463d1