OpenXRay / xray-16

Improved version of the X-Ray Engine, the game engine used in the world-famous S.T.A.L.K.E.R. game series by GSC Game World. Join OpenXRay! ;)
https://discord.gg/sjRMQwv
Other
2.96k stars 454 forks source link

Compiler warnings elimination #713

Open Xottab-DUTY opened 3 years ago

Xottab-DUTY commented 3 years ago

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

MSVC:

GCC:

For history:

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/

Xottab-DUTY commented 2 years ago

Some work: 64ab9ce005a56dd969e73b31677653d18f4ad319 5460f48ae5877d89e5921f53ad47a5a2a03463d1