Page MenuHomePhabricator

Merge #14718: Remove unreferenced boost headers

Authored by nakihito on Thu, Mar 19, 23:52.


Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Restricted Project
rSTAGING4d562db5ae8b: Merge #14718: Remove unreferenced boost headers
rABC4d562db5ae8b: Merge #14718: Remove unreferenced boost headers

c54e5a41c4 Remove unreferenced boost headers (Murray Nesbitt)

Pull request description:

Building with clang (e.g. on FreeBSD) is very noisy due to `-Wthread-safety-analysis` warnings regarding boost. This change removes a number of unnecessary boost includes, and silences the rest of the warnings when building with clang. This allows more potentially interesting warnings to surface from the noise.

Tested on FreeBSD 11.2

Tree-SHA512: 5e6a0623188b9be59aeae52866799aefb4c3c9ab5e569b07ee8d43fc92e0b5f1f76b96bb54c35c7043148df84641b4a96927fb71f6eb00460c20cd19cf250900

Backport of Core PR14718 and PR14768 (reverts fs.h changes)

Changes to util/system.cpp were ignored because we diverged here:

Test Plan
ninja check

Diff Detail

rABC Bitcoin ABC
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

nakihito created this revision.Thu, Mar 19, 23:52
Owners added a reviewer: Restricted Owners Package.Thu, Mar 19, 23:52
Herald added a reviewer: Restricted Project. · View Herald TranscriptThu, Mar 19, 23:52
teamcity edited the summary of this revision. (Show Details)Thu, Mar 19, 23:52

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

deadalnix accepted this revision.Fri, Mar 20, 00:18
This revision is now accepted and ready to land.Fri, Mar 20, 00:18
This revision was automatically updated to reflect the committed changes.