Page MenuHomePhabricator

Updated to allow macOS build
ClosedPublic

Authored by schancel on Dec 31 2017, 05:31.

Details

Reviewers
deadalnix
BMahon9
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Restricted Project
Commits
rSTAGING539160cd04ce: Updated to allow macOS build
rABC539160cd04ce: Updated to allow macOS build
Summary

The existing Bitcoin ABC code would not compile on macOS. It appears to be related to Boost. Adding "const" to a few lines in miner.h and txmempool.h allowed the build process to proceed. This change is consistent with a change performed on Bitcoin Core (https://github.com/bitcoin/bitcoin/pull/12032/files). Make boost::multi_index comparators const.

Test Plan

Confirm the changes allow the build process to proceed as desired on Linux/Windows

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Owners added a reviewer: Restricted Owners Package.Dec 31 2017, 05:31
This revision is now accepted and ready to land.Jan 2 2018, 01:13
schancel added a reviewer: BMahon9.
This revision was automatically updated to reflect the committed changes.