Compilation problem with Boost: BOOST_NOEXCEPT
Hi all,
I am having some problems compiling a package, related to Boost. I think it could be because I recently upgraded to the last versions of ubuntu and ROS.
Ubuntu 16.04 LTS
g++ 5.3.1
Boost 1.58
ROS Kinetic
Thousand of errors start with:
[...]
/usr/include/boost/utility/declval.hpp:40:54: error: expected initializer before ‘BOOST_NOEXCEPT’
typename add_rvalue_reference<T>::type declval() BOOST_NOEXCEPT; // as unevaluated operand
[...]
/usr/include/boost/type_traits/is_nothrow_move_assignable.hpp:56:72: error: ‘declval’ is not a member of ‘boost’
typename ::boost::enable_if_c<sizeof(T) && BOOST_NOEXCEPT_EXPR(::boost::declval<T&>() = ::boost::declval<T>())>::type
[...]
Any idea?
Best, Francisco.