fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / boost / boost.preprocessor.Wundef.warnings.patch
blob63fa958ca27d0fc7eb1cd7f9fefee1a1dcdc5c55
1 --- foo/foo/foo/boost/preprocessor/config/config.hpp
2 +++ foo/foo/foo/boost/preprocessor/config/config.hpp
3 @@ -90,7 +90,7 @@
4 # define BOOST_PP_VARIADICS 0
5 # endif
6 # /* Wave (C/C++), GCC (C++) */
7 -# elif defined __WAVE__ && __WAVE_HAS_VARIADICS__ || defined __GNUC__ && __GXX_EXPERIMENTAL_CXX0X__
8 +# elif defined __WAVE__ && __WAVE_HAS_VARIADICS__ || defined __GNUC__ && defined __GXX_EXPERIMENTAL_CXX0X__ && __GXX_EXPERIMENTAL_CXX0X__
9 # define BOOST_PP_VARIADICS 1
10 # /* EDG-based (C/C++), GCC (C), and unknown (C/C++) */
11 # elif !defined __cplusplus && __STDC_VERSION__ >= 199901L || __cplusplus >= 201103L
12 --- foo/foo/foo/boost/preprocessor/tuple/elem.hpp
13 +++ foo/foo/foo/boost/preprocessor/tuple/elem.hpp
14 @@ -22,7 +22,7 @@
15 # include <boost/preprocessor/variadic/elem.hpp>
17 # if BOOST_PP_VARIADICS
18 -# if BOOST_PP_VARIADICS_MSVC
19 +# if defined(BOOST_PP_VARIADICS_MSVC) && BOOST_PP_VARIADICS_MSVC
20 # define BOOST_PP_TUPLE_ELEM(...) BOOST_PP_TUPLE_ELEM_I(BOOST_PP_OVERLOAD(BOOST_PP_TUPLE_ELEM_O_, __VA_ARGS__), (__VA_ARGS__))
21 # define BOOST_PP_TUPLE_ELEM_I(m, args) BOOST_PP_TUPLE_ELEM_II(m, args)
22 # define BOOST_PP_TUPLE_ELEM_II(m, args) BOOST_PP_CAT(m ## args,)
23 --- foo/foo/foo/boost/preprocessor/tuple/rem.hpp
24 +++ foo/foo/foo/boost/preprocessor/tuple/rem.hpp
25 @@ -105,7 +105,7 @@
26 # /* BOOST_PP_TUPLE_REM_CTOR */
28 # if BOOST_PP_VARIADICS
29 -# if BOOST_PP_VARIADICS_MSVC
30 +# if defined(BOOST_PP_VARIADICS_MSVC) && BOOST_PP_VARIADICS_MSVC
31 # define BOOST_PP_TUPLE_REM_CTOR(...) BOOST_PP_TUPLE_REM_CTOR_I(BOOST_PP_OVERLOAD(BOOST_PP_TUPLE_REM_CTOR_O_, __VA_ARGS__), (__VA_ARGS__))
32 # define BOOST_PP_TUPLE_REM_CTOR_I(m, args) BOOST_PP_TUPLE_REM_CTOR_II(m, args)
33 # define BOOST_PP_TUPLE_REM_CTOR_II(m, args) BOOST_PP_CAT(m ## args,)
34 --- foo/foo/foo/boost/preprocessor/tuple/to_list.hpp
35 +++ foo/foo/foo/boost/preprocessor/tuple/to_list.hpp
36 @@ -23,7 +23,7 @@
37 # /* BOOST_PP_TUPLE_TO_LIST */
39 # if BOOST_PP_VARIADICS
40 -# if BOOST_PP_VARIADICS_MSVC
41 +# if defined(BOOST_PP_VARIADICS_MSVC) && BOOST_PP_VARIADICS_MSVC
42 # define BOOST_PP_TUPLE_TO_LIST(...) BOOST_PP_TUPLE_TO_LIST_I(BOOST_PP_OVERLOAD(BOOST_PP_TUPLE_TO_LIST_O_, __VA_ARGS__), (__VA_ARGS__))
43 # define BOOST_PP_TUPLE_TO_LIST_I(m, args) BOOST_PP_TUPLE_TO_LIST_II(m, args)
44 # define BOOST_PP_TUPLE_TO_LIST_II(m, args) BOOST_PP_CAT(m ## args,)
45 --- foo/foo/foo/boost/preprocessor/variadic/elem.hpp
46 +++ foo/foo/foo/boost/preprocessor/variadic/elem.hpp
47 @@ -19,7 +19,7 @@
48 # /* BOOST_PP_VARIADIC_ELEM */
50 # if BOOST_PP_VARIADICS
51 -# if BOOST_PP_VARIADICS_MSVC
52 +# if defined(BOOST_PP_VARIADICS_MSVC) && BOOST_PP_VARIADICS_MSVC
53 # define BOOST_PP_VARIADIC_ELEM(n, ...) BOOST_PP_VARIADIC_ELEM_I(n,__VA_ARGS__)
54 # define BOOST_PP_VARIADIC_ELEM_I(n, ...) BOOST_PP_CAT(BOOST_PP_CAT(BOOST_PP_VARIADIC_ELEM_, n)(__VA_ARGS__,),)
55 # else
56 --- foo/foo/foo/boost/preprocessor/variadic/size.hpp
57 +++ foo/foo/foo/boost/preprocessor/variadic/size.hpp
58 @@ -19,7 +19,7 @@
59 # /* BOOST_PP_VARIADIC_SIZE */
61 # if BOOST_PP_VARIADICS
62 -# if BOOST_PP_VARIADICS_MSVC
63 +# if defined(BOOST_PP_VARIADICS_MSVC) && BOOST_PP_VARIADICS_MSVC
64 # define BOOST_PP_VARIADIC_SIZE(...) BOOST_PP_CAT(BOOST_PP_VARIADIC_SIZE_I(__VA_ARGS__, 64, 63, 62, 61, 60, 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49, 48, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1,),)
65 # else
66 # define BOOST_PP_VARIADIC_SIZE(...) BOOST_PP_VARIADIC_SIZE_I(__VA_ARGS__, 64, 63, 62, 61, 60, 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49, 48, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1,)