From 4c382635a18896bed50535ed3ce12aef4fa9ba91 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Thu, 5 Jan 2012 10:10:24 +0000 Subject: [PATCH] Fix Intel-12.1 failures on Win32. [SVN r76317] --- include/boost/config/compiler/intel.hpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/boost/config/compiler/intel.hpp b/include/boost/config/compiler/intel.hpp index f62d45ab..a1704a48 100644 --- a/include/boost/config/compiler/intel.hpp +++ b/include/boost/config/compiler/intel.hpp @@ -236,6 +236,17 @@ template<> struct assert_intrinsic_wchar_t {}; //# undef BOOST_NO_SCOPED_ENUMS #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: +// +# define BOOST_NO_INITIALIZER_LISTS +# define BOOST_NO_VARIADIC_TEMPLATES +# define BOOST_NO_DELETED_FUNCTIONS +# define BOOST_NO_DEFAULTED_FUNCTIONS +# define BOOST_NO_TEMPLATE_ALIASES +#endif + #if (BOOST_INTEL_CXX_VERSION < 1200) // // fenv.h appears not to work with Intel prior to 12.0: