fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / boost / boost_1_44_0-unused-parameters.patch
blob4fe61bac69599c621066365b8389e26fa9751d81
1 --- misc/boost_1_44_0/boost/bind/bind.hpp 2009-11-30 21:30:22.000000000 +0100
2 +++ misc/build/boost_1_44_0/boost/bind/bind.hpp 2012-01-20 12:44:07.111316403 +0100
3 @@ -143,7 +143,7 @@
5 template<class F> struct unwrapper
7 - static inline F & unwrap( F & f, long )
8 + static inline F & unwrap( F & f, __attribute__ ((unused)) long )
10 return f;
12 @@ -226,7 +226,7 @@
14 A1 operator[] (boost::arg<1>) const { return base_type::a1_; }
16 - A1 operator[] (boost::arg<1> (*) ()) const { return base_type::a1_; }
17 + A1 operator[] (__attribute__ ((unused)) boost::arg<1> (*) ()) const { return base_type::a1_; }
19 template<class T> T & operator[] ( _bi::value<T> & v ) const { return v.get(); }
21 @@ -238,22 +238,22 @@
23 template<class R, class F, class L> typename result_traits<R, F>::type operator[] (bind_t<R, F, L> const & b) const { return b.eval(*this); }
25 - template<class R, class F, class A> R operator()(type<R>, F & f, A & a, long)
26 + template<class R, class F, class A> R operator()(type<R>, F & f, A & a, __attribute__ ((unused)) long)
28 return unwrapper<F>::unwrap(f, 0)(a[base_type::a1_]);
31 - template<class R, class F, class A> R operator()(type<R>, F const & f, A & a, long) const
32 + template<class R, class F, class A> R operator()(type<R>, F const & f, A & a, __attribute__ ((unused)) long) const
34 return unwrapper<F const>::unwrap(f, 0)(a[base_type::a1_]);
37 - template<class F, class A> void operator()(type<void>, F & f, A & a, int)
38 + template<class F, class A> void operator()(type<void>, F & f, A & a, __attribute__ ((unused)) int)
40 unwrapper<F>::unwrap(f, 0)(a[base_type::a1_]);
43 - template<class F, class A> void operator()(type<void>, F const & f, A & a, int) const
44 + template<class F, class A> void operator()(type<void>, F const & f, A & a, __attribute__ ((unused)) int) const
46 unwrapper<F const>::unwrap(f, 0)(a[base_type::a1_]);
48 @@ -285,8 +285,8 @@
49 A1 operator[] (boost::arg<1>) const { return base_type::a1_; }
50 A2 operator[] (boost::arg<2>) const { return base_type::a2_; }
52 - A1 operator[] (boost::arg<1> (*) ()) const { return base_type::a1_; }
53 - A2 operator[] (boost::arg<2> (*) ()) const { return base_type::a2_; }
54 + A1 operator[] (__attribute__ ((unused)) boost::arg<1> (*) ()) const { return base_type::a1_; }
55 + A2 operator[] (__attribute__ ((unused)) boost::arg<2> (*) ()) const { return base_type::a2_; }
57 template<class T> T & operator[] (_bi::value<T> & v) const { return v.get(); }
59 @@ -298,22 +298,22 @@
61 template<class R, class F, class L> typename result_traits<R, F>::type operator[] (bind_t<R, F, L> const & b) const { return b.eval(*this); }
63 - template<class R, class F, class A> R operator()(type<R>, F & f, A & a, long)
64 + template<class R, class F, class A> R operator()(type<R>, F & f, A & a, __attribute__ ((unused)) long)
66 return unwrapper<F>::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_]);
69 - template<class R, class F, class A> R operator()(type<R>, F const & f, A & a, long) const
70 + template<class R, class F, class A> R operator()(type<R>, F const & f, A & a, __attribute__ ((unused)) long) const
72 return unwrapper<F const>::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_]);
75 - template<class F, class A> void operator()(type<void>, F & f, A & a, int)
76 + template<class F, class A> void operator()(type<void>, F & f, A & a, __attribute__ ((unused)) int)
78 unwrapper<F>::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_]);
81 - template<class F, class A> void operator()(type<void>, F const & f, A & a, int) const
82 + template<class F, class A> void operator()(type<void>, F const & f, A & a, __attribute__ ((unused)) int) const
84 unwrapper<F const>::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_]);
86 @@ -377,7 +377,7 @@
88 template<class R, class F, class L> typename result_traits<R, F>::type operator[] (bind_t<R, F, L> const & b) const { return b.eval(*this); }
90 - template<class R, class F, class A> R operator()(type<R>, F & f, A & a, long)
91 + template<class R, class F, class A> R operator()(type<R>, F & f, A & a, __attribute__ ((unused)) long)
93 return unwrapper<F>::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_]);
95 @@ -387,12 +387,12 @@
96 return unwrapper<F const>::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_]);
99 - template<class F, class A> void operator()(type<void>, F & f, A & a, int)
100 + template<class F, class A> void operator()(type<void>, F & f, A & a, __attribute__ ((unused)) int)
102 unwrapper<F>::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_]);
105 - template<class F, class A> void operator()(type<void>, F const & f, A & a, int) const
106 + template<class F, class A> void operator()(type<void>, F const & f, A & a, __attribute__ ((unused)) int) const
108 unwrapper<F const>::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_]);
110 @@ -427,10 +427,10 @@
111 A3 operator[] (boost::arg<3>) const { return base_type::a3_; }
112 A4 operator[] (boost::arg<4>) const { return base_type::a4_; }
114 - A1 operator[] (boost::arg<1> (*) ()) const { return base_type::a1_; }
115 - A2 operator[] (boost::arg<2> (*) ()) const { return base_type::a2_; }
116 - A3 operator[] (boost::arg<3> (*) ()) const { return base_type::a3_; }
117 - A4 operator[] (boost::arg<4> (*) ()) const { return base_type::a4_; }
118 + A1 operator[] (__attribute__ ((unused)) boost::arg<1> (*) ()) const { return base_type::a1_; }
119 + A2 operator[] (__attribute__ ((unused)) boost::arg<2> (*) ()) const { return base_type::a2_; }
120 + A3 operator[] (__attribute__ ((unused)) boost::arg<3> (*) ()) const { return base_type::a3_; }
121 + A4 operator[] (__attribute__ ((unused)) boost::arg<4> (*) ()) const { return base_type::a4_; }
123 template<class T> T & operator[] (_bi::value<T> & v) const { return v.get(); }
125 @@ -442,7 +442,7 @@
127 template<class R, class F, class L> typename result_traits<R, F>::type operator[] (bind_t<R, F, L> const & b) const { return b.eval(*this); }
129 - template<class R, class F, class A> R operator()(type<R>, F & f, A & a, long)
130 + template<class R, class F, class A> R operator()(type<R>, F & f, A & a, __attribute__ ((unused)) long)
132 return unwrapper<F>::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_], a[base_type::a4_]);
134 @@ -452,7 +452,7 @@
135 return unwrapper<F const>::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_], a[base_type::a4_]);
138 - template<class F, class A> void operator()(type<void>, F & f, A & a, int)
139 + template<class F, class A> void operator()(type<void>, F & f, A & a, __attribute__ ((unused)) int)
141 unwrapper<F>::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_], a[base_type::a4_]);
143 @@ -510,7 +510,7 @@
145 template<class R, class F, class L> typename result_traits<R, F>::type operator[] (bind_t<R, F, L> const & b) const { return b.eval(*this); }
147 - template<class R, class F, class A> R operator()(type<R>, F & f, A & a, long)
148 + template<class R, class F, class A> R operator()(type<R>, F & f, A & a, __attribute__ ((unused)) long)
150 return unwrapper<F>::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_], a[base_type::a4_], a[base_type::a5_]);
152 @@ -520,7 +520,7 @@
153 return unwrapper<F const>::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_], a[base_type::a4_], a[base_type::a5_]);
156 - template<class F, class A> void operator()(type<void>, F & f, A & a, int)
157 + template<class F, class A> void operator()(type<void>, F & f, A & a, __attribute__ ((unused)) int)
159 unwrapper<F>::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_], a[base_type::a4_], a[base_type::a5_]);
161 @@ -591,7 +591,7 @@
162 return unwrapper<F const>::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_], a[base_type::a4_], a[base_type::a5_], a[base_type::a6_]);
165 - template<class F, class A> void operator()(type<void>, F & f, A & a, int)
166 + template<class F, class A> void operator()(type<void>, F & f, A & a, __attribute__ ((unused)) int)
168 unwrapper<F>::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_], a[base_type::a4_], a[base_type::a5_], a[base_type::a6_]);
170 --- misc/boost_1_44_0/boost/bind/mem_fn.hpp 2009-03-02 17:15:40.000000000 +0100
171 +++ misc/build/boost_1_44_0/boost/bind/mem_fn.hpp 2012-01-20 12:44:07.112316398 +0100
172 @@ -328,7 +328,7 @@
173 return (u.*f_);
176 - template<class U> R const & call(U & u, void const *) const
177 + template<class U> R const & call(U & u, __attribute__ ((unused)) void const *) const
179 return (get_pointer(u)->*f_);
181 --- misc/boost_1_44_0/boost/bind/mem_fn_template.hpp 2009-12-03 18:44:37.000000000 +0100
182 +++ misc/build/boost_1_44_0/boost/bind/mem_fn_template.hpp 2012-01-20 12:44:07.112316398 +0100
183 @@ -35,7 +35,7 @@
184 BOOST_MEM_FN_RETURN (u.*f_)();
187 - template<class U> R call(U & u, void const *) const
188 + template<class U> R call(U & u, __attribute__ ((unused)) void const *) const
190 BOOST_MEM_FN_RETURN (get_pointer(u)->*f_)();
192 @@ -100,7 +100,7 @@
193 BOOST_MEM_FN_RETURN (u.*f_)();
196 - template<class U> R call(U & u, void const *) const
197 + template<class U> R call(U & u, __attribute__ ((unused)) void const *) const
199 BOOST_MEM_FN_RETURN (get_pointer(u)->*f_)();
201 @@ -146,12 +146,12 @@
202 BOOST_MEM_FN_TYPEDEF(R (BOOST_MEM_FN_CC T::*F) (A1))
203 F f_;
205 - template<class U, class B1> R call(U & u, T const *, B1 & b1) const
206 + template<class U, class B1> R call(U & u, __attribute__ ((unused)) T const *, B1 & b1) const
208 BOOST_MEM_FN_RETURN (u.*f_)(b1);
211 - template<class U, class B1> R call(U & u, void const *, B1 & b1) const
212 + template<class U, class B1> R call(U & u, __attribute__ ((unused)) void const *, B1 & b1) const
214 BOOST_MEM_FN_RETURN (get_pointer(u)->*f_)(b1);
216 @@ -217,7 +217,7 @@
217 BOOST_MEM_FN_RETURN (u.*f_)(b1);
220 - template<class U, class B1> R call(U & u, void const *, B1 & b1) const
221 + template<class U, class B1> R call(U & u, __attribute__ ((unused)) void const *, B1 & b1) const
223 BOOST_MEM_FN_RETURN (get_pointer(u)->*f_)(b1);
225 @@ -266,7 +266,7 @@
226 BOOST_MEM_FN_RETURN (u.*f_)(b1, b2);
229 - template<class U, class B1, class B2> R call(U & u, void const *, B1 & b1, B2 & b2) const
230 + template<class U, class B1, class B2> R call(U & u, __attribute__ ((unused)) void const *, B1 & b1, B2 & b2) const
232 BOOST_MEM_FN_RETURN (get_pointer(u)->*f_)(b1, b2);
234 @@ -330,7 +330,7 @@
235 BOOST_MEM_FN_RETURN (u.*f_)(b1, b2);
238 - template<class U, class B1, class B2> R call(U & u, void const *, B1 & b1, B2 & b2) const
239 + template<class U, class B1, class B2> R call(U & u, __attribute__ ((unused)) void const *, B1 & b1, B2 & b2) const
241 BOOST_MEM_FN_RETURN (get_pointer(u)->*f_)(b1, b2);
243 @@ -379,7 +379,7 @@
244 BOOST_MEM_FN_RETURN (u.*f_)(b1, b2, b3);
247 - template<class U, class B1, class B2, class B3> R call(U & u, void const *, B1 & b1, B2 & b2, B3 & b3) const
248 + template<class U, class B1, class B2, class B3> R call(U & u, __attribute__ ((unused)) void const *, B1 & b1, B2 & b2, B3 & b3) const
250 BOOST_MEM_FN_RETURN (get_pointer(u)->*f_)(b1, b2, b3);
252 @@ -492,7 +492,7 @@
253 BOOST_MEM_FN_RETURN (u.*f_)(b1, b2, b3, b4);
256 - template<class U, class B1, class B2, class B3, class B4> R call(U & u, void const *, B1 & b1, B2 & b2, B3 & b3, B4 & b4) const
257 + template<class U, class B1, class B2, class B3, class B4> R call(U & u, __attribute__ ((unused)) void const *, B1 & b1, B2 & b2, B3 & b3, B4 & b4) const
259 BOOST_MEM_FN_RETURN (get_pointer(u)->*f_)(b1, b2, b3, b4);
261 @@ -556,7 +556,7 @@
262 BOOST_MEM_FN_RETURN (u.*f_)(b1, b2, b3, b4);
265 - template<class U, class B1, class B2, class B3, class B4> R call(U & u, void const *, B1 & b1, B2 & b2, B3 & b3, B4 & b4) const
266 + template<class U, class B1, class B2, class B3, class B4> R call(U & u, __attribute__ ((unused)) void const *, B1 & b1, B2 & b2, B3 & b3, B4 & b4) const
268 BOOST_MEM_FN_RETURN (get_pointer(u)->*f_)(b1, b2, b3, b4);
270 --- misc/boost_1_44_0/boost/detail/dynamic_bitset.hpp 2008-10-21 20:13:59.000000000 +0200
271 +++ misc/build/boost_1_44_0/boost/detail/dynamic_bitset.hpp 2012-01-20 12:44:07.113316394 +0100
272 @@ -100,8 +100,8 @@
274 template <typename Iterator>
275 inline std::size_t do_count(Iterator first, std::size_t length,
276 - int /*dummy param*/,
277 - value_to_type<access_by_bytes>* )
278 + __attribute__ ((unused)) int /*dummy param*/,
279 + __attribute__ ((unused)) value_to_type<access_by_bytes>* )
281 std::size_t num = 0;
282 if (length)
283 --- misc/boost_1_44_0/boost/foreach.hpp 2010-07-30 22:26:40.000000000 +0200
284 +++ misc/build/boost_1_44_0/boost/foreach.hpp 2012-01-20 12:44:07.114316390 +0100
285 @@ -610,7 +610,7 @@
288 template<typename T>
289 -inline auto_any<T *> contain(T &t, boost::mpl::false_ *) // lvalue
290 +inline auto_any<T *> contain(T &t, __attribute__ ((unused)) boost::mpl::false_ *) // lvalue
292 // Cannot seem to get sunpro to handle addressof() with array types.
293 #if BOOST_WORKAROUND(__SUNPRO_CC, BOOST_TESTED_AT(0x570))
294 @@ -641,7 +641,7 @@
296 template<typename T, typename C>
297 inline auto_any<BOOST_DEDUCED_TYPENAME foreach_iterator<T, C>::type>
298 -begin(auto_any_t col, type2type<T, C> *, boost::mpl::false_ *) // lvalue
299 +begin(auto_any_t col, __attribute__ ((unused)) type2type<T, C> *, __attribute__ ((unused)) boost::mpl::false_ *) // lvalue
301 typedef BOOST_DEDUCED_TYPENAME type2type<T, C>::type type;
302 typedef BOOST_DEDUCED_TYPENAME foreach_iterator<T, C>::type iterator;
303 @@ -678,7 +678,7 @@
305 template<typename T, typename C>
306 inline auto_any<BOOST_DEDUCED_TYPENAME foreach_iterator<T, C>::type>
307 -end(auto_any_t col, type2type<T, C> *, boost::mpl::false_ *) // lvalue
308 +end(auto_any_t col, __attribute__ ((unused)) type2type<T, C> *, __attribute__ ((unused)) boost::mpl::false_ *) // lvalue
310 typedef BOOST_DEDUCED_TYPENAME type2type<T, C>::type type;
311 typedef BOOST_DEDUCED_TYPENAME foreach_iterator<T, C>::type iterator;
312 @@ -707,7 +707,7 @@
313 // done
315 template<typename T, typename C>
316 -inline bool done(auto_any_t cur, auto_any_t end, type2type<T, C> *)
317 +inline bool done(auto_any_t cur, auto_any_t end, __attribute__ ((unused)) type2type<T, C> *)
319 typedef BOOST_DEDUCED_TYPENAME foreach_iterator<T, C>::type iter_t;
320 return auto_any_cast<iter_t, boost::mpl::false_>(cur) == auto_any_cast<iter_t, boost::mpl::false_>(end);
321 @@ -725,7 +725,7 @@
322 // next
324 template<typename T, typename C>
325 -inline void next(auto_any_t cur, type2type<T, C> *)
326 +inline void next(auto_any_t cur, __attribute__ ((unused)) type2type<T, C> *)
328 typedef BOOST_DEDUCED_TYPENAME foreach_iterator<T, C>::type iter_t;
329 ++auto_any_cast<iter_t, boost::mpl::false_>(cur);
330 @@ -736,7 +736,7 @@
332 template<typename T, typename C>
333 inline BOOST_DEDUCED_TYPENAME foreach_reference<T, C>::type
334 -deref(auto_any_t cur, type2type<T, C> *)
335 +deref(auto_any_t cur, __attribute__ ((unused)) type2type<T, C> *)
337 typedef BOOST_DEDUCED_TYPENAME foreach_iterator<T, C>::type iter_t;
338 return *auto_any_cast<iter_t, boost::mpl::false_>(cur);
339 --- misc/boost_1_44_0/boost/function/function_template.hpp 2009-07-09 01:23:52.000000000 +0200
340 +++ misc/build/boost_1_44_0/boost/function/function_template.hpp 2012-01-20 15:29:25.217770399 +0100
341 @@ -711,7 +711,7 @@
342 template<typename Functor>
343 BOOST_FUNCTION_FUNCTION(Functor BOOST_FUNCTION_TARGET_FIX(const &) f
344 #ifndef BOOST_NO_SFINAE
345 - ,typename enable_if_c<
346 + ,__attribute__ ((unused)) typename enable_if_c<
347 (boost::type_traits::ice_not<
348 (is_integral<Functor>::value)>::value),
349 int>::type = 0
350 @@ -724,7 +724,7 @@
351 template<typename Functor,typename Allocator>
352 BOOST_FUNCTION_FUNCTION(Functor BOOST_FUNCTION_TARGET_FIX(const &) f, Allocator a
353 #ifndef BOOST_NO_SFINAE
354 - ,typename enable_if_c<
355 + ,__attribute__ ((unused)) typename enable_if_c<
356 (boost::type_traits::ice_not<
357 (is_integral<Functor>::value)>::value),
358 int>::type = 0
359 @@ -1055,7 +1055,7 @@
360 template<typename Functor>
361 function(Functor f
362 #ifndef BOOST_NO_SFINAE
363 - ,typename enable_if_c<
364 + ,__attribute__ ((unused)) typename enable_if_c<
365 (boost::type_traits::ice_not<
366 (is_integral<Functor>::value)>::value),
367 int>::type = 0
368 @@ -1067,7 +1067,7 @@
369 template<typename Functor,typename Allocator>
370 function(Functor f, Allocator a
371 #ifndef BOOST_NO_SFINAE
372 - ,typename enable_if_c<
373 + ,__attribute__ ((unused)) typename enable_if_c<
374 (boost::type_traits::ice_not<
375 (is_integral<Functor>::value)>::value),
376 int>::type = 0
377 --- misc/boost_1_44_0/boost/iterator/reverse_iterator.hpp 2004-08-12 19:13:07.000000000 +0200
378 +++ misc/build/boost_1_44_0/boost/iterator/reverse_iterator.hpp 2012-01-20 12:44:07.122316355 +0100
379 @@ -34,7 +34,7 @@
380 template<class OtherIterator>
381 reverse_iterator(
382 reverse_iterator<OtherIterator> const& r
383 - , typename enable_if_convertible<OtherIterator, Iterator>::type* = 0
384 + , __attribute__ ((unused)) typename enable_if_convertible<OtherIterator, Iterator>::type* = 0
386 : super_t(r.base())
388 --- misc/boost_1_44_0/boost/optional/optional.hpp 2012-01-20 15:24:32.364576113 +0100
389 +++ misc/build/boost_1_44_0/boost/optional/optional.hpp 2012-01-20 12:44:07.123316351 +0100
390 @@ -365,7 +365,7 @@
391 // Converting constructions of optional<T> from optional<U> uses this function with
392 // 'Expr' being of type 'U' and relying on a converting constructor of T from U.
393 template<class Expr>
394 - void construct ( Expr const& expr, void const* )
395 + void construct ( Expr const& expr, __attribute__ ((unused)) void const* )
397 new (m_storage.address()) internal_type(expr) ;
398 m_initialized = true ;
399 @@ -376,7 +376,7 @@
400 // Converting assignments of optional<T> from optional<U> uses this function with
401 // 'Expr' being of type 'U' and relying on a converting assignment of T from U.
402 template<class Expr>
403 - void assign_expr_to_initialized ( Expr const& expr, void const* )
404 + void assign_expr_to_initialized ( Expr const& expr, __attribute__ ((unused)) void const* )
406 assign_value(expr, is_reference_predicate());
408 @@ -846,12 +846,12 @@
410 template<class T>
411 inline
412 -bool operator == ( none_t , optional<T> const& y )
413 +bool operator == ( __attribute__ ((unused)) none_t , optional<T> const& y )
414 { return equal_pointees(optional<T>() ,y); }
416 template<class T>
417 inline
418 -bool operator < ( none_t , optional<T> const& y )
419 +bool operator < ( __attribute__ ((unused)) none_t , optional<T> const& y )
420 { return less_pointees(optional<T>() ,y); }
422 template<class T>
423 --- misc/boost_1_44_0/boost/spirit/home/classic/actor/ref_const_ref_actor.hpp 2008-06-22 17:05:38.000000000 +0200
424 +++ misc/build/boost_1_44_0/boost/spirit/home/classic/actor/ref_const_ref_actor.hpp 2012-01-20 12:44:07.124316347 +0100
425 @@ -63,8 +63,8 @@
427 template<typename IteratorT>
428 void operator()(
429 - IteratorT const& /*first*/,
430 - IteratorT const& /*last*/
431 + __attribute__ ((unused)) IteratorT const& /*first*/,
432 + __attribute__ ((unused)) IteratorT const& /*last*/
433 ) const
435 this->act(ref,value_ref); // defined in ActionT
436 --- misc/boost_1_44_0/boost/spirit/home/classic/core/composite/no_actions.hpp
437 +++ misc/build/boost_1_44_0/boost/spirit/home/classic/core/composite/no_actions.hpp
438 @@ -38,10 +38,10 @@
439 template<typename ActorT, typename AttrT, typename IteratorT>
440 void
441 do_action(
442 - ActorT const& actor,
443 - AttrT& val,
444 - IteratorT const& first,
445 - IteratorT const& last) const
446 + __attribute__ ((unused)) ActorT const& actor,
447 + __attribute__ ((unused)) AttrT& val,
448 + __attribute__ ((unused)) IteratorT const& first,
449 + __attribute__ ((unused)) IteratorT const& last) const
453 --- misc/boost_1_44_0/boost/spirit/home/classic/core/composite/impl/directives.ipp 2008-06-22 17:05:38.000000000 +0200
454 +++ misc/build/boost_1_44_0/boost/spirit/home/classic/core/composite/impl/directives.ipp 2012-01-20 12:44:07.124316347 +0100
455 @@ -41,7 +41,7 @@
456 contiguous_parser_parse(
457 ST const& s,
458 ScannerT const& scan,
459 - skipper_iteration_policy<BaseT> const&)
460 + __attribute__ ((unused)) skipper_iteration_policy<BaseT> const&)
462 typedef scanner_policies<
463 no_skipper_iteration_policy<
464 @@ -61,7 +61,7 @@
465 contiguous_parser_parse(
466 ST const& s,
467 ScannerT const& scan,
468 - no_skipper_iteration_policy<BaseT> const&)
469 + __attribute__ ((unused)) no_skipper_iteration_policy<BaseT> const&)
471 return s.parse(scan);
473 @@ -85,7 +85,7 @@
474 implicit_lexeme_parse(
475 ParserT const& p,
476 ScannerT const& scan,
477 - skipper_iteration_policy<BaseT> const&)
478 + __attribute__ ((unused)) skipper_iteration_policy<BaseT> const&)
480 typedef scanner_policies<
481 no_skipper_iteration_policy<
482 @@ -129,7 +129,7 @@
483 inhibit_case_parser_parse(
484 ST const& s,
485 ScannerT const& scan,
486 - iteration_policy const&)
487 + __attribute__ ((unused)) iteration_policy const&)
489 typedef scanner_policies<
490 inhibit_case_iteration_policy<
491 --- misc/boost_1_44_0/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp
492 +++ misc/build/boost_1_44_0/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp
493 @@ -83,7 +83,7 @@
494 { // Does _not_ copy the helpers member !
497 - grammar_helper_list& operator=(grammar_helper_list const& x)
498 + grammar_helper_list& operator=(__attribute__ ((unused)) grammar_helper_list const& x)
499 { // Does _not_ copy the helpers member !
500 return *this;
502 --- misc/boost_1_44_0/boost/spirit/home/classic/core/non_terminal/parser_context.hpp 2008-06-22 17:05:38.000000000 +0200
503 +++ misc/build/boost_1_44_0/boost/spirit/home/classic/core/non_terminal/parser_context.hpp 2012-01-20 12:44:07.124316347 +0100
504 @@ -51,15 +51,15 @@
505 typedef parser_context_linker<parser_context<AttrT> > context_linker_t;
507 template <typename ParserT>
508 - parser_context(ParserT const&) {}
509 + parser_context(__attribute__ ((unused)) ParserT const&) {}
511 template <typename ParserT, typename ScannerT>
512 void
513 - pre_parse(ParserT const&, ScannerT const&) {}
514 + pre_parse(__attribute__ ((unused)) ParserT const&, __attribute__ ((unused)) ScannerT const&) {}
516 template <typename ResultT, typename ParserT, typename ScannerT>
517 ResultT&
518 - post_parse(ResultT& hit, ParserT const&, ScannerT const&)
519 + post_parse(ResultT& hit, __attribute__ ((unused)) ParserT const&, __attribute__ ((unused)) ScannerT const&)
520 { return hit; }
523 --- misc/boost_1_44_0/boost/spirit/home/classic/core/primitives/impl/numerics.ipp 2012-01-20 15:24:32.364576113 +0100
524 +++ misc/build/boost_1_44_0/boost/spirit/home/classic/core/primitives/impl/numerics.ipp 2012-01-20 12:44:07.125316343 +0100
525 @@ -240,7 +240,7 @@
528 template <>
529 - inline bool allow_more_digits<-1>(std::size_t)
530 + inline bool allow_more_digits<-1>(__attribute__ ((unused)) std::size_t)
532 return true;
534 --- misc/boost_1_44_0/boost/spirit/home/classic/core/primitives/primitives.hpp 2008-06-22 17:05:38.000000000 +0200
535 +++ misc/build/boost_1_44_0/boost/spirit/home/classic/core/primitives/primitives.hpp 2012-01-20 12:44:07.125316343 +0100
536 @@ -316,7 +316,7 @@
537 anychar_parser() {}
539 template <typename CharT>
540 - bool test(CharT) const
541 + bool test(__attribute__ ((unused)) CharT) const
543 return true;
545 --- misc/boost_1_44_0/boost/spirit/home/classic/core/scanner/impl/skipper.ipp 2008-06-22 17:05:38.000000000 +0200
546 +++ misc/build/boost_1_44_0/boost/spirit/home/classic/core/scanner/impl/skipper.ipp 2012-01-20 12:44:07.125316343 +0100
547 @@ -122,7 +122,7 @@
548 IteratorT const& first_,
549 IteratorT const& last,
550 ParserT const& p,
551 - space_parser const&)
552 + __attribute__ ((unused)) space_parser const&)
554 typedef skipper_iteration_policy<> iter_policy_t;
555 typedef scanner_policies<iter_policy_t> scanner_policies_t;
556 --- misc/boost_1_44_0/boost/spirit/home/classic/core/scanner/scanner.hpp 2008-06-22 17:05:38.000000000 +0200
557 +++ misc/build/boost_1_44_0/boost/spirit/home/classic/core/scanner/scanner.hpp 2012-01-20 12:44:07.126316338 +0100
558 @@ -82,18 +82,18 @@
559 create_match(
560 std::size_t length,
561 AttrT const& val,
562 - IteratorT const& /*first*/,
563 - IteratorT const& /*last*/) const
564 + __attribute__ ((unused)) IteratorT const& /*first*/,
565 + __attribute__ ((unused)) IteratorT const& /*last*/) const
567 return match<AttrT>(length, val);
570 template <typename MatchT, typename IteratorT>
571 void group_match(
572 - MatchT& /*m*/,
573 - parser_id const& /*id*/,
574 - IteratorT const& /*first*/,
575 - IteratorT const& /*last*/) const {}
576 + __attribute__ ((unused)) MatchT& /*m*/,
577 + __attribute__ ((unused)) parser_id const& /*id*/,
578 + __attribute__ ((unused)) IteratorT const& /*first*/,
579 + __attribute__ ((unused)) IteratorT const& /*last*/) const {}
581 template <typename Match1T, typename Match2T>
582 void concat_match(Match1T& l, Match2T const& r) const
583 @@ -126,8 +126,8 @@
584 call(
585 ActorT const& actor,
586 AttrT& val,
587 - IteratorT const&,
588 - IteratorT const&)
589 + __attribute__ ((unused)) IteratorT const&,
590 + __attribute__ ((unused)) IteratorT const&)
592 actor(val);
594 --- misc/boost_1_44_0/boost/spirit/home/classic/core/scanner/skipper.hpp 2008-06-22 17:05:38.000000000 +0200
595 +++ misc/build/boost_1_44_0/boost/spirit/home/classic/core/scanner/skipper.hpp 2012-01-20 12:44:07.126316338 +0100
596 @@ -82,7 +82,7 @@
598 template <typename ScannerT>
599 void
600 - skip(ScannerT const& /*scan*/) const {}
601 + skip(__attribute__ ((unused)) ScannerT const& /*scan*/) const {}
604 ///////////////////////////////////////////////////////////////////////////
605 --- misc/boost_1_44_0/boost/spirit/home/classic/meta/impl/refactoring.ipp 2008-06-22 17:05:38.000000000 +0200
606 +++ misc/build/boost_1_44_0/boost/spirit/home/classic/meta/impl/refactoring.ipp 2012-01-20 12:44:07.126316338 +0100
607 @@ -92,7 +92,7 @@
609 template <typename ParserT, typename ScannerT, typename BinaryT>
610 static typename parser_result<ParserT, ScannerT>::type
611 - parse(ParserT const &, ScannerT const& scan, BinaryT const& binary)
612 + parse(__attribute__ ((unused)) ParserT const &, ScannerT const& scan, BinaryT const& binary)
614 return binary.parse(scan);
616 @@ -140,7 +140,7 @@
617 template <typename ParserT, typename ScannerT, typename BinaryT>
618 static typename parser_result<ParserT, ScannerT>::type
619 parse(ParserT const &p, ScannerT const& scan, BinaryT const& binary,
620 - non_nested_refactoring const&)
621 + __attribute__ ((unused)) non_nested_refactoring const&)
623 typedef
624 typename BinaryT::left_t::parser_category_t
625 @@ -205,7 +205,7 @@
626 typename NestedT
628 static typename parser_result<ParserT, ScannerT>::type
629 - parse(ParserT const &, ScannerT const& scan, BinaryT const& binary,
630 + parse(__attribute__ ((unused)) ParserT const &, ScannerT const& scan, BinaryT const& binary,
631 NestedT const& nested_d)
633 typedef typename BinaryT::parser_generator_t binary_gen_t;
634 @@ -324,7 +324,7 @@
636 static typename parser_result<ParserT, ScannerT>::type
637 parse(ParserT const &, ScannerT const& scan, ActionT const &action,
638 - NestedT const& nested_d)
639 + __attribute__ ((unused)) NestedT const& nested_d)
641 return action.parse(scan);
643 --- misc/boost_1_44_0/boost/spirit/home/classic/utility/impl/chset.ipp
644 +++ misc/build/boost_1_44_0/boost/spirit/home/classic/utility/impl/chset.ipp
645 @@ -129,7 +129,7 @@
648 template <typename CharT>
649 -inline chset<CharT>::chset(nothing_parser arg_)
650 +inline chset<CharT>::chset(__attribute__ ((unused)) nothing_parser arg_)
651 : ptr(new basic_chset<CharT>()) {}
653 template <typename CharT>
654 @@ -182,7 +182,7 @@
656 template <typename CharT>
657 inline chset<CharT>&
658 -chset<CharT>::operator=(anychar_parser rhs)
659 +chset<CharT>::operator=(__attribute__ ((unused)) anychar_parser rhs)
661 utility::impl::detach_clear(ptr);
662 ptr->set(
663 @@ -194,7 +194,7 @@
665 template <typename CharT>
666 inline chset<CharT>&
667 -chset<CharT>::operator=(nothing_parser rhs)
668 +chset<CharT>::operator=(__attribute__ ((unused)) nothing_parser rhs)
670 utility::impl::detach_clear(ptr);
671 return *this;
672 --- misc/boost_1_44_0/boost/spirit/home/classic/utility/impl/chset_operators.ipp 2008-06-22 17:05:38.000000000 +0200
673 +++ misc/build/boost_1_44_0/boost/spirit/home/classic/utility/impl/chset_operators.ipp 2012-01-20 12:44:07.127316333 +0100
674 @@ -576,7 +576,7 @@
675 //////////////////////////////////
676 template <typename CharT>
677 inline chset<CharT>
678 -operator-(anychar_parser, chset<CharT> const& b)
679 +operator-(__attribute__ ((unused)) anychar_parser, chset<CharT> const& b)
681 return ~b;
683 --- misc/boost_1_44_0/boost/spirit/home/classic/utility/impl/lists.ipp 2008-06-22 17:05:38.000000000 +0200
684 +++ misc/build/boost_1_44_0/boost/spirit/home/classic/utility/impl/lists.ipp 2012-01-20 12:44:07.127316333 +0100
685 @@ -64,8 +64,8 @@
686 typename ItemT, typename DelimT
688 static typename parser_result<ParserT, ScannerT>::type
689 - parse(ScannerT const& scan, ParserT const& /*p*/,
690 - ItemT const &item, DelimT const &delim, no_list_endtoken const&)
691 + parse(ScannerT const& scan, __attribute__ ((unused)) ParserT const& /*p*/,
692 + ItemT const &item, DelimT const &delim, __attribute__ ((unused)) no_list_endtoken const&)
694 typedef refactor_action_gen<refactor_unary_gen<> > refactor_t;
695 const refactor_t refactor_item_d = refactor_t(refactor_unary_d);
696 @@ -112,8 +112,8 @@
697 typename ItemT, typename DelimT
699 static typename parser_result<ParserT, ScannerT>::type
700 - parse(ScannerT const& scan, ParserT const& /*p*/,
701 - ItemT const &item, DelimT const &delim, no_list_endtoken const&)
702 + parse(ScannerT const& scan, __attribute__ ((unused)) ParserT const& /*p*/,
703 + ItemT const &item, DelimT const &delim, __attribute__ ((unused)) no_list_endtoken const&)
705 return (
706 (item - delim)
707 --- misc/boost_1_44_0/boost/spirit/home/classic/phoenix/tuples.hpp
708 +++ misc/build/boost_1_44_0/boost/spirit/home/classic/phoenix/tuples.hpp
709 @@ -211,7 +211,7 @@
710 typedef nil_t& rtype;
711 typedef nil_t const& crtype;
713 - static nil_t get(TupleT const& t) { return nil_t(); }
714 + static nil_t get(__attribute__ ((unused)) TupleT const& t) { return nil_t(); }
717 //////////////////////////////////
718 --- misc/boost_1_44_0/boost/throw_exception.hpp 2010-07-03 23:32:02.000000000 +0200
719 +++ misc/build/boost_1_44_0/boost/throw_exception.hpp 2012-01-20 12:44:07.127316333 +0100
720 @@ -49,7 +49,7 @@
722 #else
724 -inline void throw_exception_assert_compatibility( std::exception const & ) { }
725 +inline void throw_exception_assert_compatibility( __attribute__ ((unused)) std::exception const & ) { }
727 template<class E> BOOST_ATTRIBUTE_NORETURN inline void throw_exception( E const & e )
729 --- misc/boost_1_44_0/boost/utility/addressof.hpp 2009-05-16 20:15:17.000000000 +0200
730 +++ misc/build/boost_1_44_0/boost/utility/addressof.hpp 2012-01-20 12:44:07.128316328 +0100
731 @@ -34,7 +34,7 @@
733 template<class T> struct addressof_impl
735 - static inline T * f( T & v, long )
736 + static inline T * f( T & v, __attribute__ ((unused)) long )
738 return reinterpret_cast<T*>(
739 &const_cast<char&>(reinterpret_cast<const volatile char &>(v)));
740 --- misc/boost_1_44_0/boost/variant/detail/visitation_impl.hpp 2010-06-10 17:32:07.000000000 +0200
741 +++ misc/build/boost_1_44_0/boost/variant/detail/visitation_impl.hpp 2012-01-20 12:44:07.128316328 +0100
742 @@ -121,7 +121,7 @@
743 inline
744 BOOST_VARIANT_AUX_GENERIC_RESULT_TYPE(typename Visitor::result_type)
745 visitation_impl_invoke_impl(
746 - int, Visitor& visitor, VoidPtrCV storage, T*
747 + int, Visitor& visitor, VoidPtrCV storage, __attribute__ ((unused)) T*
748 , mpl::true_// never_uses_backup
751 @@ -158,7 +158,7 @@
752 visitation_impl_invoke(
753 int internal_which, Visitor& visitor, VoidPtrCV storage, T* t
754 , NoBackupFlag
755 - , int
756 + , __attribute__ ((unused)) int
759 typedef typename mpl::or_<
760 @@ -176,7 +176,7 @@
761 template <typename Visitor, typename VoidPtrCV, typename NBF>
762 inline
763 BOOST_VARIANT_AUX_GENERIC_RESULT_TYPE(typename Visitor::result_type)
764 -visitation_impl_invoke(int, Visitor&, VoidPtrCV, apply_visitor_unrolled*, NBF, long)
765 +visitation_impl_invoke(__attribute__ ((unused)) int, __attribute__ ((unused)) Visitor&, VoidPtrCV, __attribute__ ((unused)) apply_visitor_unrolled*, NBF, __attribute__ ((unused)) long)
767 // should never be here at runtime:
768 BOOST_ASSERT(false);
769 @@ -198,9 +198,9 @@
770 inline
771 BOOST_VARIANT_AUX_GENERIC_RESULT_TYPE(typename Visitor::result_type)
772 visitation_impl(
773 - int, int, Visitor&, VPCV
774 + __attribute__ ((unused)) int, __attribute__ ((unused)) int, __attribute__ ((unused)) Visitor&, VPCV
775 , mpl::true_ // is_apply_visitor_unrolled
776 - , NBF, W* = 0, S* = 0
777 + , NBF, __attribute__ ((unused)) W* = 0, __attribute__ ((unused)) S* = 0
780 // should never be here at runtime:
781 @@ -221,7 +221,7 @@
782 , Visitor& visitor, VoidPtrCV storage
783 , mpl::false_ // is_apply_visitor_unrolled
784 , NoBackupFlag no_backup_flag
785 - , Which* = 0, step0* = 0
786 + , __attribute__ ((unused)) Which* = 0, __attribute__ ((unused)) step0* = 0
789 // Typedef apply_visitor_unrolled steps and associated types...
790 --- misc/boost_1_44_0/boost/variant/get.hpp 2005-08-25 18:27:28.000000000 +0200
791 +++ misc/build/boost_1_44_0/boost/variant/get.hpp 2012-01-20 12:44:07.129316324 +0100
792 @@ -85,7 +85,7 @@
795 template <typename U>
796 - pointer operator()(const U&) const
797 + pointer operator()(__attribute__ ((unused)) const U&) const
799 return static_cast<pointer>(0);
801 --- misc/boost_1_44_0/boost/variant/variant.hpp 2010-06-10 17:32:07.000000000 +0200
802 +++ misc/build/boost_1_44_0/boost/variant/variant.hpp 2012-01-20 12:44:07.129316324 +0100
803 @@ -290,7 +290,7 @@
805 template <typename T>
806 BOOST_VARIANT_AUX_RETURN_VOID_TYPE
807 - internal_visit(T& operand, int) const
808 + internal_visit(T& operand, __attribute__ ((unused)) int) const
810 operand.~T();
812 @@ -404,7 +404,7 @@
814 template <typename T>
815 BOOST_VARIANT_AUX_RETURN_VOID_TYPE
816 - internal_visit(const T& operand, int) const
817 + internal_visit(const T& operand, __attribute__ ((unused)) int) const
819 new(storage_) T(operand);
820 BOOST_VARIANT_AUX_RETURN_VOID;
821 @@ -454,7 +454,7 @@
823 template <typename T>
824 BOOST_VARIANT_AUX_RETURN_VOID_TYPE
825 - internal_visit(T& lhs_content, int) const
826 + internal_visit(T& lhs_content, __attribute__ ((unused)) int) const
828 // NOTE TO USER :
829 // Compile error here indicates one of variant's bounded types does
830 @@ -502,7 +502,7 @@
833 template <typename U>
834 - bool operator()(U&) BOOST_NOEXCEPT
835 + bool operator()(__attribute__ ((unused)) U&) BOOST_NOEXCEPT
837 return false;
839 @@ -827,7 +827,7 @@
840 public: // internal visitor interfaces
842 template <typename T>
843 - result_type internal_visit(T& operand, int)
844 + result_type internal_visit(T& operand, __attribute__ ((unused)) int)
846 return visitor_(operand);
848 @@ -1225,7 +1225,7 @@
849 public: // internal visitor interfaces (below)
851 template <typename T>
852 - int internal_visit(T& operand, int) const
853 + int internal_visit(T& operand, __attribute__ ((unused)) int) const
855 // NOTE TO USER :
856 // Compile error here indicates one of the source variant's types
857 @@ -1288,7 +1288,7 @@
858 template <typename T>
859 void convert_construct(
860 T& operand
861 - , int
862 + , __attribute__ ((unused)) int
863 , mpl::false_ = mpl::false_() // is_foreign_variant
866 @@ -1308,7 +1308,7 @@
867 template <typename Variant>
868 void convert_construct(
869 Variant& operand
870 - , long
871 + , __attribute__ ((unused)) long
872 , mpl::true_// is_foreign_variant
875 @@ -1348,7 +1348,7 @@
876 template <BOOST_VARIANT_ENUM_PARAMS(typename U)>
877 void convert_construct(
878 boost::variant<BOOST_VARIANT_ENUM_PARAMS(U)>& operand
879 - , long
880 + , __attribute__ ((unused)) long
883 convert_construct_variant(operand);
884 @@ -1553,7 +1553,7 @@
886 template <typename RhsT>
887 BOOST_VARIANT_AUX_RETURN_VOID_TYPE
888 - internal_visit(const RhsT& rhs_content, int)
889 + internal_visit(const RhsT& rhs_content, __attribute__ ((unused)) int)
891 typedef typename has_nothrow_copy<RhsT>::type
892 nothrow_copy;
893 --- misc/boost_1_44_0/boost/ptr_container/detail/default_deleter.hpp
894 +++ misc/build/boost_1_44_0/boost/ptr_container/detail/default_deleter.hpp
895 @@ -61,7 +61,7 @@
897 default_deleter() { }
898 template<typename TT>
899 - default_deleter(default_deleter<TT> tt) { }
900 + default_deleter(__attribute__ ((unused)) default_deleter<TT> tt) { }
903 } } } // End namespaces ptr_container_detail, move_ptrs, boost.
904 --- misc/boost_1_44_0/boost/ptr_container/ptr_sequence_adapter.hpp
905 +++ misc/build/boost_1_44_0/boost/ptr_container/ptr_sequence_adapter.hpp
906 @@ -664,8 +664,8 @@
910 - void range_check_impl( iterator first, iterator last,
911 - std::bidirectional_iterator_tag )
912 + void range_check_impl( __attribute__ ((unused)) iterator first, __attribute__ ((unused)) iterator last,
913 + std::bidirectional_iterator_tag )
914 { /* do nothing */ }
916 void range_check_impl( iterator first, iterator last,