mirror of
https://github.com/boostorg/math.git
synced 2026-01-19 04:22:09 +00:00
Update mingw failure with thread_local
This commit is contained in:
@@ -653,7 +653,9 @@ namespace boost{ namespace math{
|
||||
// Some mingw flavours have issues with thread_local and types with non-trivial destructors
|
||||
// See https://sourceforge.net/p/mingw-w64/bugs/527/
|
||||
//
|
||||
#if (defined(__MINGW32__) && (__GNUC__ < 9) && !defined(__clang__))
|
||||
// When running windows-2022 or 2025 we see this issue again with GCC 12 and 14
|
||||
//
|
||||
#if (defined(__MINGW32__) && ((__GNUC__ < 9) || (__GNUC__ >= 12)) && !defined(__clang__))
|
||||
# define BOOST_MATH_NO_THREAD_LOCAL_WITH_NON_TRIVIAL_TYPES
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user