diff --git a/include/boost/python/detail/wrapper_base.hpp b/include/boost/python/detail/wrapper_base.hpp index 76161682..e5b93aa4 100755 --- a/include/boost/python/detail/wrapper_base.hpp +++ b/include/boost/python/detail/wrapper_base.hpp @@ -21,7 +21,7 @@ namespace detail inline PyObject* get_owner(wrapper_base const volatile& w); inline PyObject* - owner_impl(void const volatile* x, mpl::false_) + owner_impl(void const volatile* /*x*/, mpl::false_) { return 0; } diff --git a/include/boost/python/object/pickle_support.hpp b/include/boost/python/object/pickle_support.hpp index 555544fe..cbdbcbb9 100644 --- a/include/boost/python/object/pickle_support.hpp +++ b/include/boost/python/object/pickle_support.hpp @@ -54,8 +54,8 @@ namespace detail { register_( Class_& cl, tuple (*getinitargs_fn)(Tgetinitargs), - inaccessible* (*getstate_fn)(), - inaccessible* (*setstate_fn)(), + inaccessible* (* /*getstate_fn*/)(), + inaccessible* (* /*setstate_fn*/)(), bool) { cl.enable_pickling_(false); @@ -69,7 +69,7 @@ namespace detail { void register_( Class_& cl, - inaccessible* (*getinitargs_fn)(), + inaccessible* (* /*getinitargs_fn*/)(), Rgetstate (*getstate_fn)(Tgetstate), void (*setstate_fn)(Tsetstate, Ttuple), bool getstate_manages_dict) diff --git a/include/boost/python/suite/indexing/detail/indexing_suite_detail.hpp b/include/boost/python/suite/indexing/detail/indexing_suite_detail.hpp index bf4fe91c..70df8a72 100644 --- a/include/boost/python/suite/indexing/detail/indexing_suite_detail.hpp +++ b/include/boost/python/suite/indexing/detail/indexing_suite_detail.hpp @@ -490,20 +490,20 @@ namespace boost { namespace python { namespace detail { static void base_replace_indexes( - Container& container, Index from, - Index to, Index n) + Container& /*container*/, Index /*from*/, + Index /*to*/, Index /*n*/) { } template static void base_erase_index( - Container& container, Index i, NoSlice no_slice) + Container& /*container*/, Index /*i*/, NoSlice /*no_slice*/) { } static void - base_erase_indexes(Container& container, Index from, Index to) + base_erase_indexes(Container& /*container*/, Index /*from*/, Index /*to*/) { } }; @@ -715,20 +715,20 @@ namespace boost { namespace python { namespace detail { } static object - base_get_slice(Container& container, PySliceObject* slice) + base_get_slice(Container& /*container*/, PySliceObject* /*slice*/) { slicing_not_suported(); return object(); } static void - base_set_slice(Container& container, PySliceObject* slice, PyObject* v) + base_set_slice(Container& /*container*/, PySliceObject* /*slice*/, PyObject* /*v*/) { slicing_not_suported(); } static void - base_delete_slice(Container& container, PySliceObject* slice) + base_delete_slice(Container& /*container*/, PySliceObject* /*slice*/) { slicing_not_suported(); } diff --git a/include/boost/python/suite/indexing/map_indexing_suite.hpp b/include/boost/python/suite/indexing/map_indexing_suite.hpp index 3e1b25b0..7fbad4ca 100644 --- a/include/boost/python/suite/indexing/map_indexing_suite.hpp +++ b/include/boost/python/suite/indexing/map_indexing_suite.hpp @@ -156,7 +156,7 @@ namespace boost { namespace python { } static index_type - convert_index(Container& container, PyObject* i_) + convert_index(Container& /*container*/, PyObject* i_) { extract i(i_); if (i.check()) diff --git a/include/boost/python/suite/indexing/vector_indexing_suite.hpp b/include/boost/python/suite/indexing/vector_indexing_suite.hpp index 3cce5fdc..34c29ecc 100644 --- a/include/boost/python/suite/indexing/vector_indexing_suite.hpp +++ b/include/boost/python/suite/indexing/vector_indexing_suite.hpp @@ -148,7 +148,7 @@ namespace boost { namespace python { } static index_type - get_min_index(Container& container) + get_min_index(Container& /*container*/) { return 0; } @@ -160,7 +160,7 @@ namespace boost { namespace python { } static bool - compare_index(Container& container, index_type a, index_type b) + compare_index(Container& /*container*/, index_type a, index_type b) { return a < b; }