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

Remove boost placeholders from global namespace #194

Open
phako opened this issue Nov 13, 2020 · 0 comments
Open

Remove boost placeholders from global namespace #194

phako opened this issue Nov 13, 2020 · 0 comments

Comments

@phako
Copy link
Member

phako commented Nov 13, 2020

With newer boost this is deprecated and throws a ton of warnings:


In file included from /usr/include/boost/bind.hpp:30,
                 from /home/jgeorg/jhbuild/checkout/DeviceAccess/util/include/VirtualFunctionTemplate.h:26,
                 from /home/jgeorg/jhbuild/checkout/DeviceAccess/device_backends/include/DeviceBackend.h:17,
                 from /home/jgeorg/jhbuild/checkout/DeviceAccess/device_backends/src/DeviceBackend.cc:5:
/usr/include/boost/bind.hpp:36: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.’
 
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

No branches or pull requests

1 participant