diff options
Diffstat (limited to 'boost')
-rw-r--r-- | boost/UnpackedTarball_boost.mk | 1 | ||||
-rw-r--r-- | boost/boost.wunused.patch | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/boost/UnpackedTarball_boost.mk b/boost/UnpackedTarball_boost.mk index bcec8b99bd9e..99fb92a19082 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 000000000000..89abb5372ec4 --- /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()); + } + + |