office-gobmx/boost/boost.4510.warnings.patch
Michael Stahl 5adb2fb940 boost: disable MSVC warnings C4510, C4610 for ...
boost::detail::multi_array::ConstMultiArrayConcept

Change-Id: I8937079337eb3c4cfd29c03c6602b99b28f5c59e
2012-10-25 17:37:35 +02:00

26 lines
661 B
Diff

--- misc/boost_1_44_0/boost/multi_array/concept_checks.hpp
+++ misc/build/boost_1_44_0/boost/multi_array/concept_checks.hpp
@@ -56,6 +56,13 @@
}
};
+// MSVC 2008 produces 2 warnings "default constructor could not be generated"
+// here that run over ~100 lines :(
+#ifdef _MSC_VER
+#pragma warning(push,1)
+#pragma warning(disable: 4510)
+#pragma warning(disable: 4610)
+#endif
template <typename Array, std::size_t NumDims >
struct ConstMultiArrayConcept
@@ -117,6 +124,9 @@
index_range range;
};
+#ifdef _MSC_VER
+#pragma warning(pop)
+#endif
template <typename Array, std::size_t NumDims >
struct MutableMultiArrayConcept