From 1c712d0bf039e08d8726fb092a25f4312ee2655a Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Sun, 23 Jun 2019 08:46:45 +0100 Subject: [PATCH] clang-3.5: another try at figuring which auto expression is failing. --- 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 496f764f..96235394 100644 --- a/include/boost/config/compiler/clang.hpp +++ b/include/boost/config/compiler/clang.hpp @@ -269,7 +269,7 @@ # define BOOST_NO_CXX14_INITIALIZED_LAMBDA_CAPTURES #endif -#if !__has_feature(__cxx_generic_lambdas__) +#if !__has_feature(__cxx_generic_lambdas__) || (__clang_major__ < 4) # define BOOST_NO_CXX14_GENERIC_LAMBDAS #endif