[Libreoffice-commits] core.git: boost/boost.wunused.patch boost/UnpackedTarball_boost.mk

Tor Lillqvist tml at iki.fi
Fri May 24 06:46:46 PDT 2013


 boost/UnpackedTarball_boost.mk |    1 +
 boost/boost.wunused.patch      |   11 +++++++++++
 2 files changed, 12 insertions(+)

New commits:
commit f2b31d29581890b9913c5e85a6833d9906bc7aa4
Author: Tor Lillqvist <tml at iki.fi>
Date:   Fri May 24 16:34:04 2013 +0300

    WaE: unused parameter ´other´
    
    Change-Id: I13dc9ac0fcbf515df3f44ab18e0fee9cfb8ef239

diff --git a/boost/UnpackedTarball_boost.mk b/boost/UnpackedTarball_boost.mk
index bcec8b9..99fb92a 100644
--- a/boost/UnpackedTarball_boost.mk
+++ b/boost/UnpackedTarball_boost.mk
@@ -41,6 +41,7 @@ boost_patches += boost.endian.patch
 boost_patches += boost.loplugin.patch
 boost_patches += boost.std.move.patch
 boost_patches += boost.wundef.patch
+boost_patches += boost.wunused.patch
 boost_patches += boost.wshadow.patch
 
 $(eval $(call gb_UnpackedTarball_UnpackedTarball,boost))
diff --git a/boost/boost.wunused.patch b/boost/boost.wunused.patch
new file mode 100644
index 0000000..89abb53
--- /dev/null
+++ b/boost/boost.wunused.patch
@@ -0,0 +1,11 @@
+--- foo/foo/foo/boost/unordered/detail/table.hpp
++++ foo/foo/foo/boost/unordered/detail/table.hpp
+@@ -458,6 +458,7 @@
+             // According to 23.2.1.8, if propagate_on_container_swap is
+             // false the behaviour is undefined unless the allocators
+             // are equal.
++            (void) other;
+             BOOST_ASSERT(node_alloc() == other.node_alloc());
+         }
+ 
+


More information about the Libreoffice-commits mailing list