]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Patch by Lukas Korous: Apply a workaround for Microsoft Visual Studio.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 3 Dec 2014 12:59:07 +0000 (06:59 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 3 Dec 2014 12:59:07 +0000 (06:59 -0600)
bundled/boost-1.56.0/include/boost/config/compiler/visualc.hpp

index 842f0865152db73e0ffad7d630ca2ec21a35f4ba..467172498a5cd18f6991db346e051bab326d915c 100644 (file)
 #  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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.