Closed Ajaja closed 5 months ago
After changing
#ifdef _WIN32 // MSVC
__assume(false);
#else // GCC, Clang
__builtin_unreachable();
#endif
to
#if defined _WIN32 && ! defined (__MINGW64__) && ! defined (__MINGW32__) // MSVC
__assume(false);
#else // GCC, Clang
__builtin_unreachable();
#endif
compiles fine.
I pushed your recommended change to the repo.
https://github.com/Xilmi/OpenXcom/blob/4f088f1dfbe68374a67a205f6b2d7cb6e4bf9072/src/Engine/CrossPlatform.h#L141