2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-19 04:22:16 +00:00

Merge pull request #66 from thtrummer/develop

Fix unused local typedef warnings for GCC
This commit is contained in:
Stefan Seefeld
2016-06-24 16:50:53 -04:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -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>

View File

@@ -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)

View File

@@ -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;
}
};