GCC-4.7x at least on Mingw does not have a conforming <atomic> header - at least not that you can link to.

This commit is contained in:
jzmaddock
2013-12-13 09:53:06 +00:00
parent c9c7c832c1
commit 50c736c9ab

View File

@ -155,6 +155,11 @@
// so 4.7.0 is the first truely conforming one.
# define BOOST_NO_CXX11_HDR_CHRONO
# define BOOST_NO_CXX11_ALLOCATOR
#endif
// C++0x features in GCC 4.7.0 and later
//
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 8) || !defined(__GXX_EXPERIMENTAL_CXX0X__)
// Note that although <atomic> existed prior to gcc 4.8 it was largely unimplemented for many types:
# define BOOST_NO_CXX11_HDR_ATOMIC
#endif
// C++0x headers not yet (fully!) implemented