office-gobmx/boost/boost.4510.warnings.patch
Tor Lillqvist f60af9ca6b Use a maximum fuzz factor of 1 for our patches to 3rd-party code
Change-Id: Id4639f1b0eefe5d433c84f48b7a1093fa17a3ba4
2013-05-27 16:39:41 +03:00

26 lines
673 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 @@
} // namespace detail
+// 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