You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling the rostime package on my machine, I get the following compiler error:
/Users/michel/Developer/kinetic_ws/src/roscpp_core/rostime/include/ros/impl/time.h:170:35: error: no matching conversion for functional-style cast from 'double' to 'pt::microseconds' (aka 'subsecond_duration<boost::posix_time::time_duration, 1000000>')
return pt::from_time_t(sec) + pt::microseconds(nsec/1000.0);
Adding an explicit cast to either int32_t or uint32_t seems to solve this issue.
My setup
macOS 10.13.4
clang Apple LLVM version 9.1.0
boost 1.67.0
The text was updated successfully, but these errors were encountered:
When compiling the rostime package on my machine, I get the following compiler error:
Adding an explicit cast to either int32_t or uint32_t seems to solve this issue.
My setup
The text was updated successfully, but these errors were encountered: