From d5046fd9e5e52481a0d39c048fe82c82d655a22a Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Sun, 23 Jun 2019 08:56:25 +0100 Subject: [PATCH] clang-3.5: disable more stuff using auto. --- include/boost/config/compiler/clang.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/config/compiler/clang.hpp b/include/boost/config/compiler/clang.hpp index 96235394..7e0a7044 100644 --- a/include/boost/config/compiler/clang.hpp +++ b/include/boost/config/compiler/clang.hpp @@ -291,7 +291,7 @@ # define BOOST_NO_CXX14_CONSTEXPR #endif -#if !__has_feature(__cxx_return_type_deduction__) +#if !__has_feature(__cxx_return_type_deduction__) || (__clang_major__ < 4) # define BOOST_NO_CXX14_RETURN_TYPE_DEDUCTION #endif