From 2fd39f10cbf1d3fa32278df43418ce9f42f1e7d4 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Thu, 15 Dec 2016 10:37:11 +0000 Subject: [PATCH] Intel appears not to support C++14 variable templates. --- include/boost/config/compiler/intel.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/boost/config/compiler/intel.hpp b/include/boost/config/compiler/intel.hpp index fad1a5aa..1885ea28 100644 --- a/include/boost/config/compiler/intel.hpp +++ b/include/boost/config/compiler/intel.hpp @@ -35,6 +35,10 @@ #endif +#if (__INTEL_COMPILER <= 1600) && !defined(BOOST_NO_CXX14_VARIABLE_TEMPLATES) +# define BOOST_NO_CXX14_VARIABLE_TEMPLATES +#endif + #else #include