mirror of
https://github.com/boostorg/python.git
synced 2026-01-19 16:32:16 +00:00
Fix unused local typedef warnings for GCC
This commit is contained in:
@@ -70,7 +70,7 @@ namespace detail
|
||||
template <class T>
|
||||
inline void assert_castable(boost::type<T>* = 0)
|
||||
{
|
||||
typedef char must_be_a_complete_type[sizeof(T)];
|
||||
typedef char must_be_a_complete_type[sizeof(T)] BOOST_ATTRIBUTE_UNUSED;
|
||||
}
|
||||
|
||||
template <class Source, class Target>
|
||||
|
||||
@@ -55,7 +55,7 @@ namespace detail
|
||||
|
||||
typedef typename detail::error::more_keywords_than_function_arguments<
|
||||
NumKeywords::value, arity
|
||||
>::too_many_keywords assertion;
|
||||
>::too_many_keywords assertion BOOST_ATTRIBUTE_UNUSED;
|
||||
|
||||
return objects::function_object(
|
||||
detail::caller<F,CallPolicies,Sig>(f, p)
|
||||
|
||||
@@ -107,7 +107,7 @@ namespace detail {
|
||||
{
|
||||
typedef typename
|
||||
error_messages::missing_pickle_suite_function_or_incorrect_signature<
|
||||
Class_>::error_type error_type;
|
||||
Class_>::error_type error_type BOOST_ATTRIBUTE_UNUSED;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user