Author: manx
Date: Fri Apr 26 16:57:35 2024
New Revision: 20656
URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=20656
Log:
[Mod] mpt/check/libcxx.hpp: GCC 13 added the mcfgthread backend for Windows which the Debian MinGW-w64 GCC packages now use in place of the old Win32 backend. Clarify error message. We cannot detect mcfgthread vs. pthread, thus we cannot warn if mcfgthread is selected and an unsupported (<Win7) Windows version is targeted.
Modified:
trunk/OpenMPT/src/mpt/check/libcxx.hpp
Modified: trunk/OpenMPT/src/mpt/check/libcxx.hpp
==============================================================================
--- trunk/OpenMPT/src/mpt/check/libcxx.hpp Fri Apr 26 16:24:33 2024 (r20655)
+++ trunk/OpenMPT/src/mpt/check/libcxx.hpp Fri Apr 26 16:57:35 2024 (r20656)
@@ -8,8 +8,8 @@
#include "mpt/base/detect_quirks.hpp"
#ifndef MPT_CHECK_LIBCXX_IGNORE_WARNING_NO_THREADS
-#if MPT_OS_WINDOWS && MPT_WIN_BEFORE(MPT_WIN_VISTA) && MPT_LIBCXX_GNU_AT_LEAST(13) && !defined(_GLIBCXX_HAS_GTHREADS)
-#error "GNU libstdc++ is compiled without gthreads support (likely due to using Win32 threading model as opposed to POSIX threading model. This a severely crippled C++11 implementation and no is no longer supported for targetting Windows before Vista as of release 13 because non-threading standard library headers fail to compile."
+#if MPT_OS_WINDOWS && MPT_WIN_BEFORE(MPT_WIN_7) && MPT_LIBCXX_GNU_AT_LEAST(13) && !defined(_GLIBCXX_HAS_GTHREADS)
+#error "GNU libstdc++ is compiled without gthreads support (likely due to using Win32 threading model as opposed to POSIX or mcfgthread threading model. This a severely crippled C++11 implementation and no is no longer supported ofr libstdc++ version 13 or later."
#endif
#endif
|