From 041bf1ee1f54b8f59a58f1921773b94ce2c7f302 Mon Sep 17 00:00:00 2001 From: Glen Fernandes Date: Mon, 20 Feb 2017 11:30:56 -0500 Subject: [PATCH] Define BOOST_NO_CXX11_SFINAE_EXPR in C++98 clang When compiling in pre-C++11 clang mode it should be defined --- include/boost/config/compiler/clang.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/boost/config/compiler/clang.hpp b/include/boost/config/compiler/clang.hpp index 6fe0874a..175229c6 100644 --- a/include/boost/config/compiler/clang.hpp +++ b/include/boost/config/compiler/clang.hpp @@ -282,6 +282,10 @@ # define BOOST_NO_CXX14_VARIABLE_TEMPLATES #endif +#if __cplusplus < 201103L +#define BOOST_NO_CXX11_SFINAE_EXPR +#endif + #if __cplusplus < 201400 // All versions with __cplusplus above this value seem to support this: # define BOOST_NO_CXX14_DIGIT_SEPARATORS