This errors arise with some clang version and -Wthread-safety-analysis. Introduced in D11436.
Note: the annotations are also needlessely duplicated in the function definition and should be removed by backporting https://github.com/bitcoin/bitcoin/pull/21188.
Details
Details
- Reviewers
PiRK - Group Reviewers
Restricted Project - Commits
- rABCd63cbfbcbd5b: Fix thread safety error: negative handling capability
With a recent Clang:
ninja all check
Check it raises no warning.
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- master
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 18993 Build 37747: Build Diff lint-circular-dependencies · build-without-wallet · build-diff · build-debug · build-clang-tidy · build-clang Build 37746: arc lint + arc unit