From: Wolfgang Bangerth Date: Wed, 3 Dec 2014 12:59:07 +0000 (-0600) Subject: Patch by Lukas Korous: Apply a workaround for Microsoft Visual Studio. X-Git-Tag: v8.2.0-rc1~34^2~6 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30f148cf44b8671b341fc4f06128e5f31fa8c68a;p=dealii.git Patch by Lukas Korous: Apply a workaround for Microsoft Visual Studio. --- diff --git a/bundled/boost-1.56.0/include/boost/config/compiler/visualc.hpp b/bundled/boost-1.56.0/include/boost/config/compiler/visualc.hpp index 842f086515..467172498a 100644 --- a/bundled/boost-1.56.0/include/boost/config/compiler/visualc.hpp +++ b/bundled/boost-1.56.0/include/boost/config/compiler/visualc.hpp @@ -168,6 +168,16 @@ # define BOOST_NO_CXX11_DECLTYPE_N3276 #endif +// Apply the bugfix from this patch: https://svn.boost.org/trac/boost/ticket/10215 +// +//// Although VC 2013 claims to support defaulted functions, it +//// does not support the =default construct. See +//// http://msdn.microsoft.com/en-us/library/hh409293.aspx +//// +#ifdef _MSC_VER + #define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS +#endif + // C++11 features not supported by any versions #define BOOST_NO_CXX11_CHAR16_T #define BOOST_NO_CXX11_CHAR32_T