forked from boostorg/config
Lift thread local ban for 64bit MinGW
The problem seems affect only 32bit compilers.
This commit is contained in:
@ -309,8 +309,8 @@
|
|||||||
# define BOOST_FALLTHROUGH __attribute__((fallthrough))
|
# define BOOST_FALLTHROUGH __attribute__((fallthrough))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __MINGW32__
|
#if defined(__MINGW32__) && !defined(__MINGW64__)
|
||||||
// Currently (June 2017) thread_local is broken on mingw for all current compiler releases, see
|
// Currently (March 2019) thread_local is broken on mingw for all current 32bit compiler releases, see
|
||||||
// https://sourceforge.net/p/mingw-w64/bugs/527/
|
// https://sourceforge.net/p/mingw-w64/bugs/527/
|
||||||
// Not setting this causes program termination on thread exit.
|
// Not setting this causes program termination on thread exit.
|
||||||
#define BOOST_NO_CXX11_THREAD_LOCAL
|
#define BOOST_NO_CXX11_THREAD_LOCAL
|
||||||
|
Reference in New Issue
Block a user