具体报错:
boost/type_traits/detail/is_function_cxx_11.hpp:80:11: error: class template partial specialization contains a template parameter that cannot be deduced; this partial specialization will never be
used [-Wunusable-partial-specialization]
struct is_function<Ret BOOST_TT_DEF_CALL(Args...)&& BOOST_TT_NOEXCEPT_DECL> : public true_type {};
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../t3party/basic/include/boost/type_traits/detail/is_function_cxx_11.hpp:79:38: note: non-deducible template parameter 'NE'
template <class Ret, class...Args BOOST_TT_NOEXCEPT_PARAM>
^
../../../../t3party/basic/include/boost/type_traits/detail/is_function_cxx_11.hpp:22:40: note: expanded from macro 'BOOST_TT_NOEXCEPT_PARAM'
#define BOOST_TT_NOEXCEPT_PARAM , bool NE
解决方案:
打开Application.mk
在APP_CPPFLAGS 添加 -Wno-unusable-partial-specialization。