fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / boost / boost.multi_array.C4510.warnings.patch
blob11fdaceef1e277f0a92a89c65eba6591322d70d7
1 --- misc/boost_1_44_0/boost/multi_array/concept_checks.hpp
2 +++ misc/build/boost_1_44_0/boost/multi_array/concept_checks.hpp
3 @@ -56,6 +56,13 @@
5 } // namespace detail
7 +// MSVC 2008 produces 2 warnings "default constructor could not be generated"
8 +// here that run over ~100 lines :(
9 +#ifdef _MSC_VER
10 +#pragma warning(push,1)
11 +#pragma warning(disable: 4510)
12 +#pragma warning(disable: 4610)
13 +#endif
15 template <typename Array, std::size_t NumDims >
16 struct ConstMultiArrayConcept
17 @@ -117,6 +124,9 @@
18 index_range range;
21 +#ifdef _MSC_VER
22 +#pragma warning(pop)
23 +#endif
25 template <typename Array, std::size_t NumDims >
26 struct MutableMultiArrayConcept