From 2690cb8b3979a17df2bab4cdce62e2f0b060bc16 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Mon, 25 Aug 2014 19:00:50 +0100 Subject: [PATCH] Set BOOST_NO_CXX11_FIXED_LENGTH_VARIADIC_TEMPLATE_EXPANSION_PACKS for Intel. --- include/boost/config/compiler/intel.hpp | 4 ++++ test/boost_no_fixed_len_variadic_templates.ipp | 1 + 2 files changed, 5 insertions(+) diff --git a/include/boost/config/compiler/intel.hpp b/include/boost/config/compiler/intel.hpp index c9496a64..b28fef47 100644 --- a/include/boost/config/compiler/intel.hpp +++ b/include/boost/config/compiler/intel.hpp @@ -298,6 +298,10 @@ template<> struct assert_intrinsic_wchar_t {}; # define BOOST_NO_CXX11_HDR_TUPLE #endif +#if BOOST_INTEL_CXX_VERSION <= 1400 +# define BOOST_NO_CXX11_FIXED_LENGTH_VARIADIC_TEMPLATE_EXPANSION_PACKS +#endif + #if defined(_MSC_VER) && (_MSC_VER <= 1700) // // Although the Intel compiler is capable of supporting these, it appears not to in MSVC compatibility mode: diff --git a/test/boost_no_fixed_len_variadic_templates.ipp b/test/boost_no_fixed_len_variadic_templates.ipp index 1f5d45ef..9baf6319 100644 --- a/test/boost_no_fixed_len_variadic_templates.ipp +++ b/test/boost_no_fixed_len_variadic_templates.ipp @@ -23,3 +23,4 @@ int test() } } +