174e24ffff
Change-Id: Ib6aa36e296dfc1237463c4257f7ea1bd1fe72a1b Reviewed-on: https://gerrit.libreoffice.org/6282 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
119 lines
5.9 KiB
Diff
119 lines
5.9 KiB
Diff
--- foo/foo/foo/boost/detail/endian.hpp
|
|
+++ foo/foo/foo/boost/detail/endian.hpp
|
|
@@ -47,15 +47,15 @@
|
|
# define BOOST_LITTLE_ENDIAN
|
|
# elif (__BYTE_ORDER == __BIG_ENDIAN)
|
|
# define BOOST_BIG_ENDIAN
|
|
-# elif (__BYTE_ORDER == __PDP_ENDIAN)
|
|
+# elif defined(__PDP_ENDIAN) && (__BYTE_ORDER == __PDP_ENDIAN)
|
|
# define BOOST_PDP_ENDIAN
|
|
# else
|
|
# error Unknown machine endianness detected.
|
|
# endif
|
|
# define BOOST_BYTE_ORDER __BYTE_ORDER
|
|
|
|
#elif defined(__NetBSD__) || defined(__FreeBSD__) || \
|
|
- defined(__OpenBSD__) || (__DragonFly__)
|
|
+ defined(__OpenBSD__) || (defined(__DragonFly__) && (__DragonFly__))
|
|
//
|
|
// BSD has endian.h, see https://svn.boost.org/trac/boost/ticket/6013
|
|
# if defined(__OpenBSD__)
|
|
--- foo/foo/foo/boost/lexical_cast.hpp
|
|
+++ foo/foo/foo/boost/lexical_cast.hpp
|
|
@@ -69,7 +69,7 @@
|
|
throw_exception(bad_lexical_cast(typeid(Source), typeid(Target)))
|
|
#endif
|
|
|
|
-#if (defined(BOOST_LCAST_HAS_INT128) && !defined(__GNUC__)) || GCC_VERSION > 40700
|
|
+#if (defined(BOOST_LCAST_HAS_INT128) && !defined(__GNUC__)) || (defined(GCC_VERSION) && GCC_VERSION > 40700)
|
|
#define BOOST_LCAST_HAS_INT128
|
|
#endif
|
|
|
|
--- foo/foo/foo/boost/multi_array/base.hpp
|
|
+++ foo/foo/foo/boost/multi_array/base.hpp
|
|
@@ -65,7 +65,7 @@
|
|
// object creation in small-memory environments. Thus, the objects
|
|
// can be left undefined by defining BOOST_MULTI_ARRAY_NO_GENERATORS
|
|
// before loading multi_array.hpp.
|
|
-#if !BOOST_MULTI_ARRAY_NO_GENERATORS
|
|
+#if !defined(BOOST_MULTI_ARRAY_NO_GENERATORS) || !BOOST_MULTI_ARRAY_NO_GENERATORS
|
|
namespace {
|
|
multi_array_types::extent_gen extents;
|
|
multi_array_types::index_gen indices;
|
|
--- foo/foo/foo/boost/preprocessor/config/config.hpp
|
|
+++ foo/foo/foo/boost/preprocessor/config/config.hpp
|
|
@@ -90,7 +90,7 @@
|
|
# define BOOST_PP_VARIADICS 0
|
|
# endif
|
|
# /* Wave (C/C++), GCC (C++) */
|
|
-# elif defined __WAVE__ && __WAVE_HAS_VARIADICS__ || defined __GNUC__ && __GXX_EXPERIMENTAL_CXX0X__
|
|
+# elif defined __WAVE__ && __WAVE_HAS_VARIADICS__ || defined __GNUC__ && defined __GXX_EXPERIMENTAL_CXX0X__ && __GXX_EXPERIMENTAL_CXX0X__
|
|
# define BOOST_PP_VARIADICS 1
|
|
# /* EDG-based (C/C++), GCC (C), and unknown (C/C++) */
|
|
# elif !defined __cplusplus && __STDC_VERSION__ >= 199901L || __cplusplus >= 201103L
|
|
--- foo/foo/foo/boost/preprocessor/tuple/elem.hpp
|
|
+++ foo/foo/foo/boost/preprocessor/tuple/elem.hpp
|
|
@@ -22,7 +22,7 @@
|
|
# include <boost/preprocessor/variadic/elem.hpp>
|
|
#
|
|
# if BOOST_PP_VARIADICS
|
|
-# if BOOST_PP_VARIADICS_MSVC
|
|
+# if defined(BOOST_PP_VARIADICS_MSVC) && BOOST_PP_VARIADICS_MSVC
|
|
# define BOOST_PP_TUPLE_ELEM(...) BOOST_PP_TUPLE_ELEM_I(BOOST_PP_OVERLOAD(BOOST_PP_TUPLE_ELEM_O_, __VA_ARGS__), (__VA_ARGS__))
|
|
# define BOOST_PP_TUPLE_ELEM_I(m, args) BOOST_PP_TUPLE_ELEM_II(m, args)
|
|
# define BOOST_PP_TUPLE_ELEM_II(m, args) BOOST_PP_CAT(m ## args,)
|
|
--- foo/foo/foo/boost/preprocessor/tuple/rem.hpp
|
|
+++ foo/foo/foo/boost/preprocessor/tuple/rem.hpp
|
|
@@ -105,7 +105,7 @@
|
|
# /* BOOST_PP_TUPLE_REM_CTOR */
|
|
#
|
|
# if BOOST_PP_VARIADICS
|
|
-# if BOOST_PP_VARIADICS_MSVC
|
|
+# if defined(BOOST_PP_VARIADICS_MSVC) && BOOST_PP_VARIADICS_MSVC
|
|
# 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__))
|
|
# define BOOST_PP_TUPLE_REM_CTOR_I(m, args) BOOST_PP_TUPLE_REM_CTOR_II(m, args)
|
|
# define BOOST_PP_TUPLE_REM_CTOR_II(m, args) BOOST_PP_CAT(m ## args,)
|
|
--- foo/foo/foo/boost/preprocessor/tuple/to_list.hpp
|
|
+++ foo/foo/foo/boost/preprocessor/tuple/to_list.hpp
|
|
@@ -23,7 +23,7 @@
|
|
# /* BOOST_PP_TUPLE_TO_LIST */
|
|
#
|
|
# if BOOST_PP_VARIADICS
|
|
-# if BOOST_PP_VARIADICS_MSVC
|
|
+# if defined(BOOST_PP_VARIADICS_MSVC) && BOOST_PP_VARIADICS_MSVC
|
|
# 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__))
|
|
# define BOOST_PP_TUPLE_TO_LIST_I(m, args) BOOST_PP_TUPLE_TO_LIST_II(m, args)
|
|
# define BOOST_PP_TUPLE_TO_LIST_II(m, args) BOOST_PP_CAT(m ## args,)
|
|
--- foo/foo/foo/boost/preprocessor/variadic/elem.hpp
|
|
+++ foo/foo/foo/boost/preprocessor/variadic/elem.hpp
|
|
@@ -19,7 +19,7 @@
|
|
# /* BOOST_PP_VARIADIC_ELEM */
|
|
#
|
|
# if BOOST_PP_VARIADICS
|
|
-# if BOOST_PP_VARIADICS_MSVC
|
|
+# if defined(BOOST_PP_VARIADICS_MSVC) && BOOST_PP_VARIADICS_MSVC
|
|
# define BOOST_PP_VARIADIC_ELEM(n, ...) BOOST_PP_VARIADIC_ELEM_I(n,__VA_ARGS__)
|
|
# define BOOST_PP_VARIADIC_ELEM_I(n, ...) BOOST_PP_CAT(BOOST_PP_CAT(BOOST_PP_VARIADIC_ELEM_, n)(__VA_ARGS__,),)
|
|
# else
|
|
--- foo/foo/foo/boost/preprocessor/variadic/size.hpp
|
|
+++ foo/foo/foo/boost/preprocessor/variadic/size.hpp
|
|
@@ -19,7 +19,7 @@
|
|
# /* BOOST_PP_VARIADIC_SIZE */
|
|
#
|
|
# if BOOST_PP_VARIADICS
|
|
-# if BOOST_PP_VARIADICS_MSVC
|
|
+# if defined(BOOST_PP_VARIADICS_MSVC) && BOOST_PP_VARIADICS_MSVC
|
|
# 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,),)
|
|
# else
|
|
# 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,)
|
|
--- foo/foo/foo/boost/utility/result_of.hpp
|
|
+++ foo/foo/foo/boost/utility/result_of.hpp
|
|
@@ -72,7 +72,7 @@
|
|
// There doesn't seem to be any other way to turn this off such that the presence of
|
|
// the user-defined operator,() below doesn't cause spurious warning all over the place,
|
|
// so unconditionally turn it off.
|
|
-#if BOOST_MSVC
|
|
+#if defined(BOOST_MSVC) && BOOST_MSVC
|
|
# pragma warning(disable: 4913) // user defined binary operator ',' exists but no overload could convert all operands, default built-in binary operator ',' used
|
|
#endif
|
|
|