Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Argument to Boost Milliseconds must be integral in Boost >= 1.67 #37

Merged
merged 3 commits into from
Apr 29, 2018

Conversation

sarlinpe
Copy link
Contributor

With the last version of Boost the compilation of bondcpp fails because of non-matching types in the call to boost::posix_time::milliseconds. See ros/roscpp_core#79.

@mikaelarguedas
Copy link
Member

@mikaelarguedas mikaelarguedas merged commit 1240bce into ros:kinetic-devel Apr 29, 2018
@huangqinjin
Copy link

@skydes why not just ros::Duration::toBoost()

@sarlinpe
Copy link
Contributor Author

sarlinpe commented May 10, 2018

@huangqinjin ros::Duration::toBoost() only returns a value in microseconds, not milliseconds.

@huangqinjin
Copy link

@skydes condition_.timed_wait(mutex_, wait_time.toBoost());

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants