Skip to content

Build: Compatibility with boost 1.67 #470

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

Merged
merged 2 commits into from
May 6, 2019
Merged

Conversation

Kritzefitz
Copy link
Contributor

This PR enables building navcoin-core with boost-1.67 out of the box.

Though I tested this against boost 1.67, the branch fixes build problems from 1.59 onwards, which affect users of at least Debian 9 (Stretch) and newer and probably other modern distributions. So I think the problems fixed should affect enough users to justify these relatively simple changes.

Kritzefitz added 2 commits May 6, 2019 12:52
Boost apparently requires these operators to be callable on const
values since version 1.59.0.
native() has been deprecated in favor of native_handle() since version
1.47 and was finally removed in version 1.66.
@aguycalled
Copy link
Member

tested correctly built osx&debian

@mxaddict
Copy link
Contributor

mxaddict commented May 6, 2019

Compiling against depends boost 1.64.0 to check for back compat

@mxaddict
Copy link
Contributor

mxaddict commented May 6, 2019

Compiling against depends boost 1.64.0 to check for back compat

I built this PR against depends boost 1.64.0 and can confirm it's working on ubuntu 18.04

@mxaddict mxaddict self-requested a review May 6, 2019 16:54
@mxaddict
Copy link
Contributor

mxaddict commented May 6, 2019

Compiling against depends boost 1.64.0 to check for back compat

I built this PR against depends boost 1.64.0 and can confirm it's working on ubuntu 18.04

Test suite ./qa/pull-tester/rpc-tests.py also passes with my local build

@mxaddict mxaddict merged commit 47ac15f into navcoin:master May 6, 2019
@Kritzefitz Kritzefitz deleted the boost-1.67 branch May 7, 2019 09:47
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

Successfully merging this pull request may close these issues.

3 participants