/usr/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse error at “BOOST_JOIN”

qt-ros:

/usr/include/boost/type_traits/ has_binary_operation.hp :50: Parse error at “BOOST_JOIN” error

temporary solution:

modify /usr/include/boost/type_traits/detail/ has_binary_operation.hpp file

namespace BOOST_JOIN(BOOST_TT_TRAIT_NAME,_impl) {

..

}

to

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

#ifndef Q_MOC_RUN
}
#endif


Read More: