Updated core
[LibreOffice.git] / boost / boost.4510.warnings.patch
bloba13d3651af2009f08f751bca196e63ace76de647
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 };
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