Open
Description
Some of the Boost.Python headers still use the deprecated Bind placeholders in the global namespace:
/usr/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.
Fix the files:
- <boost/python/exception_translator.hpp>
- <boost/python/iterator.hpp>
with fixes:
- Replace <boost/bind.hpp> and <boost/bind/placeholders.hpp> with <boost/bind/bind.hpp>
- Replace (global)
_1
withboost::placeholders::_1
- Replace (global)
_2
withboost::placeholders::_2
Metadata
Metadata
Assignees
Labels
No labels