boostorg / statechart

Boost.org statechart module
http://boost.org/libs/statechart
22 stars 43 forks source link

#include <boost/bind.hpp> is used instead of <boost/bind/bind.hpp> causing deprecation warning #21

Open vbaderks opened 2 years ago

vbaderks commented 2 years ago

The header files: fifo_worker.hpp and processor_container.hpp include <boost/bind.hpp> instead of <boost/bind/bind.hpp>

During complication this causes the following warning:

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.

Remark: using <boost/bind/bind.hpp> may be a breaking change for projects that rely implicit on the fact that <boost/bind.hpp> is used at the moment.