Fix compilation warnings

This commit is contained in:
momo5502
2025-05-31 09:52:18 +02:00
parent 5c0a1ce5c2
commit c50fdd17a4
10 changed files with 54 additions and 59 deletions

View File

@@ -1,6 +1,6 @@
#pragma once
#ifdef _WIN32
#if defined(_WIN32) && !defined(__MINGW64__)
#pragma warning(push)
#pragma warning(disable : 4201) // nameless struct/union
#pragma warning(disable : 4702) // unreachable code
@@ -31,6 +31,6 @@
#pragma GCC diagnostic pop
#endif
#ifdef OS_WINDOWS
#if defined(_WIN32) && !defined(__MINGW64__)
#pragma warning(pop)
#endif