diff --git a/include/boost/multiprecision/detail/no_et_ops.hpp b/include/boost/multiprecision/detail/no_et_ops.hpp index 1ee492db..b967da2a 100644 --- a/include/boost/multiprecision/detail/no_et_ops.hpp +++ b/include/boost/multiprecision/detail/no_et_ops.hpp @@ -285,7 +285,7 @@ BOOST_FORCEINLINE typename enable_if, number >::type return BOOST_MP_MOVE(result); } -#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES +#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && !(defined(__GNUC__) && ((__GNUC__ == 4) && (__GNUC_MINOR__ < 5))) // // If we have rvalue references go all over again with rvalue ref overloads and move semantics. // Note that while it would be tempting to implement these so they return an rvalue reference