From 50c736c9ab7c38378aa61c830c6242d9b32fb736 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Fri, 13 Dec 2013 09:53:06 +0000 Subject: [PATCH] GCC-4.7x at least on Mingw does not have a conforming header - at least not that you can link to. --- include/boost/config/stdlib/libstdcpp3.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/boost/config/stdlib/libstdcpp3.hpp b/include/boost/config/stdlib/libstdcpp3.hpp index 496e8d1b..d1322027 100644 --- a/include/boost/config/stdlib/libstdcpp3.hpp +++ b/include/boost/config/stdlib/libstdcpp3.hpp @@ -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 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