fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / boost / boost_1_44_0-clang-warnings.patch
bloba71cc2f5a8901bd35719c3abac6f9c726b00261e
1 --- misc/boost_1_44_0/boost/random/lagged_fibonacci.hpp
2 +++ misc/build/boost_1_44_0/boost/random/lagged_fibonacci.hpp
3 @@ -16,6 +16,11 @@
4 #ifndef BOOST_RANDOM_LAGGED_FIBONACCI_HPP
5 #define BOOST_RANDOM_LAGGED_FIBONACCI_HPP
7 +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406)
8 +# pragma GCC diagnostic push
9 +# pragma GCC diagnostic ignored "-Wshadow"
10 +#endif
12 #include <istream>
13 #include <iosfwd>
14 #include <algorithm> // std::max
15 @@ -537,4 +537,8 @@
17 } // namespace boost
19 +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406)
20 +# pragma GCC diagnostic pop
21 +#endif
23 #endif // BOOST_RANDOM_LAGGED_FIBONACCI_HPP
24 --- misc/boost_1_44_0/boost/random/shuffle_output.hpp
25 +++ misc/build/boost_1_44_0/boost/random/shuffle_output.hpp
26 @@ -16,6 +16,11 @@
27 #ifndef BOOST_RANDOM_SHUFFLE_OUTPUT_HPP
28 #define BOOST_RANDOM_SHUFFLE_OUTPUT_HPP
30 +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406)
31 +# pragma GCC diagnostic push
32 +# pragma GCC diagnostic ignored "-Wshadow"
33 +#endif
35 #include <boost/random/shuffle_order.hpp>
37 namespace boost {
38 @@ -52,4 +52,8 @@
42 +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406)
43 +# pragma GCC diagnostic pop
44 +#endif
46 #endif // BOOST_RANDOM_SHUFFLE_OUTPUT_HPP
47 --- misc/boost_1_44_0/boost/random/subtract_with_carry.hpp
48 +++ misc/build/boost_1_44_0/boost/random/subtract_with_carry.hpp
49 @@ -16,6 +16,11 @@
50 #ifndef BOOST_RANDOM_SUBTRACT_WITH_CARRY_HPP
51 #define BOOST_RANDOM_SUBTRACT_WITH_CARRY_HPP
53 +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406)
54 +# pragma GCC diagnostic push
55 +# pragma GCC diagnostic ignored "-Wshadow"
56 +#endif
58 #include <boost/config/no_tr1/cmath.hpp> // std::pow
59 #include <iostream>
60 #include <algorithm> // std::equal
61 @@ -614,4 +614,8 @@
62 } // namespace random
63 } // namespace boost
65 +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406)
66 +# pragma GCC diagnostic pop
67 +#endif
69 #endif // BOOST_RANDOM_SUBTRACT_WITH_CARRY_HPP