analogdevicesinc / gr-iio

IIO blocks for GNU Radio
GNU General Public License v3.0
94 stars 62 forks source link

Fix boost173 #87

Open trabucayre opened 3 years ago

trabucayre commented 3 years ago

with boost 1.7.3, build fails with:

../../lib/attr_sink_impl.cc: In constructor 'gr::iio::attr_sink_impl::attr_sink_impl(const string&, const string&, const string&, int, bool, bool)':
../../lib/attr_sink_impl.cc:92:92: error: '_1' was not declared in this scope
   92 |       set_msg_handler(pmt::mp("attr"), boost::bind(&attr_sink_impl::write_attribute, this, _1));

This PR change _1 by the fully qualified namespace : boost::placeholders::_1