mirror of
https://github.com/bitcoin/bitcoin
synced 2026-12-04 10:44:38 +00:00
iwyu: Fix warnings in more modules in src/ and treat them as errors #36844
No reviewers
Labels
No labels
Android
Backport
Block storage
Brainstorming
Bug
Build system
CI failed
Consensus
Data corruption
Descriptors
Docs
DrahtBot Guix build requested
Feature
Fuzzing
GUI
Good First Review
IPC
Insufficient Review
Kernel
Linux/Unix
Mempool
Mining
Needs Backport (31.x)
Needs Backport (32.x)
Needs Benchmark
Needs Conceptual Review
Needs backport (30.x)
Needs rebase
Needs release note
Net
P2P
PSBT
Privacy
Private Broadcast
Questions and Help
RPC/REST/ZMQ
Refactoring
Resource usage
Review club
Scripts and tools
Settings
TX fees and policy
Tests
Tracking Issue
UTXO Db and Indexes
Up for grabs
Upstream
Utils/log/libs
Validation
Waiting for author
Wallet
Windows
good first issue
interfaces
macOS
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin/bitcoin!36844
Loading…
Reference in a new issue
No description provided.
Delete branch "261112-iwyu-src"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Split from #36808.
This PR fixes IWYU warnings in the following source files and their associated headers, and add them to
IWYU_SRC_FILES, so that any new warnings there fail CI:chain.cppheaderssync.cppkey_io.cppmerkleblock.cpppow.cppThe changes in other files add includes of headers that were previously included transitively.
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
External sites
Reviews
See the guideline and AI policy for information on the review process.
If your review is incorrectly listed, please copy-paste
<!--meta-tag:bot-skip-->into the comment that the bot should ignore.Conflicts
Reviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
No findings were published from this review.
Review coverage was incomplete.
Reviewed:
9214667bdfe3· Review report · Previous reportspermalink
tACK
24a91c966eChecked with Apple clang that the PR only changes line numbers in the code.
small nit: since the only change outside
src/is the CI script, maybe the description could say "The changes in other files"Thanks! The commit message and the PR description have been updated.
This needs a fixup:
🚧 At least one of the CI tasks failed.
Task
macOS-cross to x86_64: https://github.com/bitcoin/bitcoin/actions/runs/45612297545/job/139198659201LLM reason (✨ experimental): CI failed during compilation:
migration.cppinstantiatesCBlockLocatorwhile only its forward declaration is visible, causing an incomplete-type error.Hints
Try to run the tests locally, according to the documentation. However, a CI failure may still
happen due to a number of reasons, for example:
Possibly due to a silent merge conflict (the changes in this pull request being
incompatible with the current code in the target branch). If so, make sure to rebase on the latest
commit of the target branch.
A sanitizer issue, which can only be found by compiling with the sanitizer and running the
affected test.
An intermittent issue.
Leave a comment here, if you need help tracking down a confusing failure.
Rebased to resolve a conflict with the recently merged https://github.com/bitcoin/bitcoin/pull/34909, which caused the error above.
🐙 This pull request conflicts with the target branch and needs rebase.
Rebased to resolve a conflict with the merged bitcoin/bitcoin#36967.