summaryrefslogtreecommitdiff
path: root/boost
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-03-01 00:26:22 +0200
committerTor Lillqvist <tml@iki.fi>2012-03-01 01:26:17 +0200
commit084a54e87b25d33815cecc837504b707ce3ebc52 (patch)
treed1fde5ff097ff2cb212576fd139e8b7f2adacaa9 /boost
parentc1dc38282b4220db7a31f70e8272aaa170fd4c76 (diff)
WaE: unused parameter
Diffstat (limited to 'boost')
-rw-r--r--boost/boost_1_44_0-unused-parameters.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/boost/boost_1_44_0-unused-parameters.patch b/boost/boost_1_44_0-unused-parameters.patch
index b50285a4bfc9..631e3e2af278 100644
--- a/boost/boost_1_44_0-unused-parameters.patch
+++ b/boost/boost_1_44_0-unused-parameters.patch
@@ -405,6 +405,21 @@
{
assign_value(expr, is_reference_predicate());
}
+@@ -846,12 +846,12 @@
+
+ template<class T>
+ inline
+-bool operator == ( none_t x, optional<T> const& y )
++bool operator == ( __attribute__ ((unused)) none_t x, optional<T> const& y )
+ { return equal_pointees(optional<T>() ,y); }
+
+ template<class T>
+ inline
+-bool operator < ( none_t x, optional<T> const& y )
++bool operator < ( __attribute__ ((unused)) none_t x, optional<T> const& y )
+ { return less_pointees(optional<T>() ,y); }
+
+ template<class T>
--- misc/boost_1_44_0/boost/spirit/home/classic/actor/ref_const_ref_actor.hpp 2008-06-22 17:05:38.000000000 +0200
+++ misc/build/boost_1_44_0/boost/spirit/home/classic/actor/ref_const_ref_actor.hpp 2012-01-20 12:44:07.124316347 +0100
@@ -63,8 +63,8 @@
@@ -867,3 +882,27 @@
typedef boost::date_time::all_date_names_put<greg_facet_config, wchar_t> facet_def;
return std::locale(loc, new facet_def(w_short_month_names,
w_long_month_names,
+--- misc/boost_1_44_0/boost/ptr_container/detail/default_deleter.hpp
++++ misc/build/boost_1_44_0/boost/ptr_container/detail/default_deleter.hpp
+@@ -61,7 +61,7 @@
+ {
+ default_deleter() { }
+ template<typename TT>
+- default_deleter(default_deleter<TT> tt) { }
++ default_deleter(__attribute__ ((unused)) default_deleter<TT> tt) { }
+ };
+
+ } } } // End namespaces ptr_container_detail, move_ptrs, boost.
+--- misc/boost_1_44_0/boost/ptr_container/ptr_sequence_adapter.hpp
++++ misc/build/boost_1_44_0/boost/ptr_container/ptr_sequence_adapter.hpp
+@@ -664,8 +664,8 @@
+
+ }
+
+- void range_check_impl( iterator first, iterator last,
+- std::bidirectional_iterator_tag )
++ void range_check_impl( __attribute__ ((unused)) iterator first, __attribute__ ((unused)) iterator last,
++ std::bidirectional_iterator_tag )
+ { /* do nothing */ }
+
+ void range_check_impl( iterator first, iterator last,