Closed hellantos closed 1 year ago
It is a problem with old boost versions. They define placeholders in global namespace by default. We don't use boost::bind.
We use boost lockfree queues though for synchronization between lely event loop and ros driver update loop. They include the boost::bind headers, which the make _1 etc ambiguous. I am currently not aware of std lockfree queues.
When I think about it probably removing using std::placeholders should also solve this.
I have fix this manually in or code to use "std::placeholders" explicitly on each occurance.
Older boost versions automatically declare placeholders _1, _2 in global namespace. This behaviour can be stopped by defining BOOST_BIND_NO_PLACEHOLDERS.