Fix a lot of small bugs/warnings

This commit is contained in:
Jérôme Leclercq
2021-12-25 20:07:53 +01:00
parent 1080823c4d
commit b98fd65a01
26 changed files with 62 additions and 52 deletions

View File

@@ -11,6 +11,7 @@
#ifdef NAZARA_COMPILER_MSVC
// Bits tricks require us to disable some warnings under VS
#pragma warning(push)
#pragma warning(disable: 4146)
#pragma warning(disable: 4804)
#endif
@@ -1665,8 +1666,7 @@ namespace std
#ifdef NAZARA_COMPILER_MSVC
// Reenable those warnings
#pragma warning(default: 4146)
#pragma warning(default: 4804)
#pragma warning(pop)
#endif
#include <Nazara/Core/DebugOff.hpp>