We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bed1fd5 commit 7dcfaafCopy full SHA for 7dcfaaf
1 file changed
include/boost/math/tools/config.hpp
@@ -653,7 +653,9 @@ namespace boost{ namespace math{
653
// Some mingw flavours have issues with thread_local and types with non-trivial destructors
654
// See https://sourceforge.net/p/mingw-w64/bugs/527/
655
//
656
-#if (defined(__MINGW32__) && (__GNUC__ < 9) && !defined(__clang__))
+// When running windows-2022 or 2025 we see this issue again with GCC 12 and 14
657
+//
658
+#if (defined(__MINGW32__) && ((__GNUC__ < 9) || (__GNUC__ >= 12)) && !defined(__clang__))
659
# define BOOST_MATH_NO_THREAD_LOCAL_WITH_NON_TRIVIAL_TYPES
660
#endif
661
0 commit comments