HomePhabricator

Work around a bug in clang < 13

Description

Work around a bug in clang < 13

Summary:
Our OSX CI currently uses clang 12 which is failing due to a bug. Fortunately it's easy to work around this bug and we already have an occurrence of this in our codebase.

The best solution would be to move to clang >= 13 as we aim to use C++20 in the future anyway, but for now this fixes the immediate issue.

Test Plan:

ninja all check

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D17977

Details

Provenance
FabienAuthored on Wed, Apr 23, 09:19
FabienPushed on Wed, Apr 23, 09:22
Reviewer
Restricted Project
Differential Revision
D17977: Work around a bug in clang < 13
Parents
rABCa9e47cc1f4b1: Add a release note for the coinstatsindex improvement
Branches
Unknown
Tags
Unknown