ci: drop -Wno-error=maybe-uninitialized from win64 cxx flags #36411

Manually merged
fanquake merged 1 commit from win_drop_maybe_uninitialized into master 2026-10-02 16:14:38 +00:00 AGit
fanquake commented 2026-10-02 09:42:49 +00:00 (Migrated from github.com)

I cannot see any maybe-uninitialized warnings in CI logs, and this passes locally on aarch64.

I cannot see any `maybe-uninitialized` warnings in CI logs, and this passes locally on aarch64.
DrahtBot commented 2026-10-02 09:42:58 +00:00 (Migrated from github.com)

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.

Type Reviewers
ACK hebasto, maflcko

If your review is incorrectly listed, please copy-paste <!--meta-tag:bot-skip--> into the comment that the bot should ignore.

<!--e57a25ab6845829454e8d69fc972939a--> The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. <!--006a51241073e994b41acfe9ec718e94--> ### External sites * Code coverage & benchmarks: https://corecheck.dev/bitcoin/bitcoin/pulls/36411 * Ralph review: https://git.fish.foo/bitcoin/bitcoin/pulls/36411#author-ralph <!--021abf342d371248e50ceaed478a90ca--> ### Reviews See [the guideline](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#code-review) and [AI policy](https://github.com/bitcoin/bitcoin/blob/master/doc/AI_POLICY.md) for information on the review process. | Type | Reviewers | | ---- | --------- | | ACK | [hebasto](https://github.com/bitcoin/bitcoin/pull/36411#pullrequestreview-5390862723), [maflcko](https://github.com/bitcoin/bitcoin/pull/36411#issuecomment-5954880541) | If your review is incorrectly listed, please copy-paste <code>&lt;!--meta-tag:bot-skip--&gt;</code> into the comment that the bot should ignore. <!--5faf32d7da4f0f540f40219e4f7537a3-->
First-time contributor

Base: 9f0595279521df019013ebc7b14e6b594bb4520d
Head: 963f557a721b279a643db2982893c8aa667416c6

No verified findings are available from this partial review.

Review coverage was incomplete. The archaeology review had incomplete evidence.

Full review report

<!-- forgejo-review-bot:bitcoin/bitcoin --> Base: `9f0595279521df019013ebc7b14e6b594bb4520d` Head: `963f557a721b279a643db2982893c8aa667416c6` No verified findings are available from this partial review. Review coverage was incomplete. The archaeology review had incomplete evidence. [Full review report](<https://review.fish.foo/traces/36411-963f557a721b279a643db2982893c8aa667416c6-254-1.html>)
hebasto (Migrated from github.com) approved these changes 2026-10-02 10:40:03 +00:00
hebasto (Migrated from github.com) left a comment

I cannot see any maybe-uninitialized warnings in CI logs, and this passes locally on aarch64.

This is interesting.

The CI job uses GCC 14.3:

C++ compiler .......................... GNU 14.3.0, /nix/store/wj1z9dwd3w62nfhvvla4bk1f3fq6mxi0-x86_64-w64-mingw32-gcc-wrapper-14.3.0/bin/x86_64-w64-mingw32-g++

However, newer compilers still produce the maybe-uninitialized warning, as noted in https://github.com/bitcoin/bitcoin/pull/35606#issuecomment-5130703059. For example:

  • on Fedora:
C++ compiler .......................... GNU 16.2.1, /bin/x86_64-w64-mingw32ucrt-g++
  • on macOS + Homebrew:
C++ compiler .......................... GNU 16.2.0, /opt/homebrew/bin/x86_64-w64-mingw32-g++

ACK 963f557a72 for our current CI job.

> I cannot see any `maybe-uninitialized` warnings in CI logs, and this passes locally on aarch64. This is interesting. The CI job uses GCC 14.3: ``` C++ compiler .......................... GNU 14.3.0, /nix/store/wj1z9dwd3w62nfhvvla4bk1f3fq6mxi0-x86_64-w64-mingw32-gcc-wrapper-14.3.0/bin/x86_64-w64-mingw32-g++ ``` However, newer compilers still produce the `maybe-uninitialized` warning, as noted in https://github.com/bitcoin/bitcoin/pull/35606#issuecomment-5130703059. For example: - on Fedora: ``` C++ compiler .......................... GNU 16.2.1, /bin/x86_64-w64-mingw32ucrt-g++ ``` - on macOS + Homebrew: ``` C++ compiler .......................... GNU 16.2.0, /opt/homebrew/bin/x86_64-w64-mingw32-g++ ``` ACK 963f557a721b279a643db2982893c8aa667416c6 for our current CI job.
maflcko commented 2026-10-02 14:43:03 +00:00 (Migrated from github.com)

lgtm ACK 963f557a72

thx

lgtm ACK 963f557a721b279a643db2982893c8aa667416c6 thx
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
bitcoin/bitcoin!36411
No description provided.