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

Compilation warning on latest boost version #30

Closed
offa opened this issue Sep 14, 2020 · 1 comment
Closed

Compilation warning on latest boost version #30

offa opened this issue Sep 14, 2020 · 1 comment
Assignees
Labels
Milestone

Comments

@offa
Copy link
Owner

offa commented Sep 14, 2020

Latest Boost v1.74 warns on compile:

»#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.«
   36 | BOOST_PRAGMA_MESSAGE(
      | ^~~~~~~~~~~~~~~~~~~~

According to an upstream issue v1.73 is affected too.

Related upstream issue: awegrzyn/influxdb-cxx#83

@offa offa added the upstream label Sep 14, 2020
@offa offa added this to the v0.6.0 milestone Sep 14, 2020
@offa offa self-assigned this Sep 14, 2020
@offa offa changed the title Compilation fails on latest boost version Compilation warning on latest boost version Sep 14, 2020
@offa
Copy link
Owner Author

offa commented Sep 14, 2020

This is an boost property_tree related issue and need's an upstream fix:

boostorg/property_tree@d1c8825

Should be fixed with Boost > v1.74.

@offa offa closed this as completed Sep 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant