From e853f2714cece807b02cd3de73555375c3921d57 Mon Sep 17 00:00:00 2001 From: Glen Fernandes Date: Wed, 12 Feb 2014 18:05:29 -0800 Subject: [PATCH] Dinkumware's BOOST_NO_CXX11_STD_ALIGN at < 610 Dinkumware 540 has std::align but it is a non-conforming implementation. --- include/boost/config/stdlib/dinkumware.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/config/stdlib/dinkumware.hpp b/include/boost/config/stdlib/dinkumware.hpp index 24163ba4..6fb6322a 100644 --- a/include/boost/config/stdlib/dinkumware.hpp +++ b/include/boost/config/stdlib/dinkumware.hpp @@ -135,7 +135,6 @@ # define BOOST_NO_CXX11_HDR_RATIO # define BOOST_NO_CXX11_HDR_THREAD # define BOOST_NO_CXX11_ATOMIC_SMART_PTR -# define BOOST_NO_CXX11_STD_ALIGN #endif // C++0x headers implemented in 610 (as shipped by Microsoft) @@ -144,6 +143,8 @@ # define BOOST_NO_CXX11_HDR_INITIALIZER_LIST # define BOOST_NO_CXX11_HDR_ATOMIC # define BOOST_NO_CXX11_ALLOCATOR +// 540 has std::align but it is not a conforming implementation +# define BOOST_NO_CXX11_STD_ALIGN #endif // 520..610 have std::addressof, but it doesn't support functions