BOOST报错:
boost/mpl/assert.hpp:189:21: error: unnecessary parentheses in declaration of 'assert_arg' [-Werror=parentheses]
189 | failed ************ (Pred::************
| ^
./_Lib3rd/boost/mpl/assert.hpp:194:21: error: unnecessary parentheses in declaration of 'assert_not_arg' [-Werror=parentheses]
194 | failed ************ (boost::mpl::not_<Pred>::************
其实这个错误只是使用了assert而已,关闭assert就可以了,在当前文件boost/mpl/assert.hpp 最上面一行添加:
// 禁止boost 断言宏
#define BOOST_MPL_CFG_ASSERT_BROKEN_POINTER_TO_POINTER_TO_MEMBER