Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r76317 - trunk/boost/config/compiler
From: john_at_[hidden]
Date: 2012-01-05 05:10:26


Author: johnmaddock
Date: 2012-01-05 05:10:24 EST (Thu, 05 Jan 2012)
New Revision: 76317
URL: http://svn.boost.org/trac/boost/changeset/76317

Log:
Fix Intel-12.1 failures on Win32.
Text files modified:
   trunk/boost/config/compiler/intel.hpp | 11 +++++++++++
   1 files changed, 11 insertions(+), 0 deletions(-)

Modified: trunk/boost/config/compiler/intel.hpp
==============================================================================
--- trunk/boost/config/compiler/intel.hpp (original)
+++ trunk/boost/config/compiler/intel.hpp 2012-01-05 05:10:24 EST (Thu, 05 Jan 2012)
@@ -236,6 +236,17 @@
 //# 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:


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk