From: Matthias Maier Date: Fri, 17 Apr 2015 09:04:48 +0000 (+0200) Subject: Fix warnings in bundled boost X-Git-Tag: v8.3.0-rc1~256^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56b062ca039;p=dealii.git Fix warnings in bundled boost --- diff --git a/bundled/boost-1.56.0/include/boost/graph/detail/adjacency_list.hpp b/bundled/boost-1.56.0/include/boost/graph/detail/adjacency_list.hpp index f2a9856d52..da4ae1997e 100644 --- a/bundled/boost-1.56.0/include/boost/graph/detail/adjacency_list.hpp +++ b/bundled/boost-1.56.0/include/boost/graph/detail/adjacency_list.hpp @@ -323,8 +323,8 @@ namespace boost { return *this; } #else - stored_edge_property(self&& x) = default; - self& operator=(self&& x) = default; + stored_edge_property(self&&) = default; + self& operator=(self&&) = default; #endif inline Property& get_property() { return *m_property; } inline const Property& get_property() const { return *m_property; } diff --git a/bundled/boost-1.56.0/include/boost/signals2/detail/variadic_slot_invoker.hpp b/bundled/boost-1.56.0/include/boost/signals2/detail/variadic_slot_invoker.hpp index 6d9227efb8..02cc65aa93 100644 --- a/bundled/boost-1.56.0/include/boost/signals2/detail/variadic_slot_invoker.hpp +++ b/bundled/boost-1.56.0/include/boost/signals2/detail/variadic_slot_invoker.hpp @@ -94,6 +94,7 @@ namespace boost template R m_invoke(void *, Func &func, unsigned_meta_array, BOOST_SIGNALS2_TUPLE args) const { + (void)args; // Silence a faulty -Wunused-but-set-parameter diagnostic emitted by gcc up to 4.8* func(BOOST_SIGNALS2_GET(args)...); return R(); }