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

Declared properly the Bind placeholders (_1, _2, ...) with the boost::placeholders namespace #505

Merged
merged 1 commit into from
Aug 11, 2020

Conversation

nunoguedelha
Copy link
Contributor

This fixes #504 .

More precisely...
The practice of declaring the Bind placeholders (_1, _2, ...) in the global
namespace is deprecated. Use <boost/bind/bind.hpp> + using namespace boost::placeholders,
or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.
(Refer to Boost 1.73 release notes https://www.boost.org/users/history/version_1_73_0.html)

…:placeholders namespace.

- The practice of declaring the Bind placeholders (_1, _2, ...) in the global
namespace is deprecated. Use <boost/bind/bind.hpp> + using namespace boost::placeholders,
or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.
(Refer to Boost 1.73 release notes https://www.boost.org/users/history/version_1_73_0.html)
@nunoguedelha nunoguedelha self-assigned this Aug 11, 2020
@traversaro traversaro merged commit 3838a84 into master Aug 11, 2020
@traversaro traversaro deleted the fix/boost-placeholders-errors_RB branch August 11, 2020 16:59
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.

Repo build fails on MacOS after update/upgrade of homebrew (with BOOST 1.73)
2 participants