编译代码时出现/usr/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse error at "BOOST_JOIN"错

编译代码时出现/usr/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse error at "BOOST_JOIN"错误

临时解决方法:

修改/usr/include/boost/type_traits/detail/has_binary_operator.hpp文件

namespace BOOST_JOIN(BOOST_TT_TRAIT_NAME,_impl) {

..

}

改为

#ifndef Q_MOC_RUN
namespace BOOST_JOIN(BOOST_TT_TRAIT_NAME,_impl) {
#endif

...

#ifndef Q_MOC_RUN
}
#endif


没有更多推荐了,返回首页