[32.x] build: remove *dev* errors from dev-mode #36927

Manually merged
fanquake merged 2 commits from turn_off_cmake_warnings into 32.x 2026-11-20 16:02:27 +00:00 AGit
fanquake commented 2026-11-20 14:31:57 +00:00 (Migrated from github.com)

For anyone using dev-mode locally (--preset dev-mode), the 32.x, 31.x and 30.x branches will currently fail to configure if CMake >= 4.5.0 is used. The value of catching CMake dev warnings/errors on those branches seems limited, so remove it for now. This will also effect the CI for those branches, if a newer CMake begins being used, i.e in the macOS or Windows jobs.

An alternative would be to backport a secp256k1 subtree update to all those branches. I'm not sure we want to do that, so just disable turning the warnings into errors (and a subtree pull could happen regardless).

Followup to https://github.com/bitcoin/bitcoin/issues/36913#issuecomment-7007283917.

For anyone using `dev-mode` locally (`--preset dev-mode)`, the `32.x`, `31.x` and `30.x` branches will currently fail to configure if CMake >= 4.5.0 is used. The value of catching CMake dev warnings/errors on those branches seems limited, so remove it for now. This will also effect the CI for those branches, if a newer CMake begins being used, i.e in the macOS or Windows jobs. An alternative would be to backport a secp256k1 subtree update to all those branches. I'm not sure we want to do that, so just disable turning the warnings into errors (and a subtree pull could happen regardless). Followup to https://github.com/bitcoin/bitcoin/issues/36913#issuecomment-7007283917.
DrahtBot commented 2026-11-20 14:32:07 +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

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/36927 * Ralph review <img src=https://review.fish.foo/assets/bitcoin/bitcoin/36927.png alt="Ralph review status"> https://git.fish.foo/bitcoin/bitcoin/pulls/36927#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/36927#pullrequestreview-5995558184) | 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

Backport verdict: Needs clarification

Fidelity could not be established from the available evidence.

Review coverage was incomplete.


Reviewed: 3d92fe8bbdf8 · Review report · Previous reports

permalink

<!-- forgejo-review-bot:bitcoin/bitcoin --> <!-- ralph-engine:current:3705f06c6a27c475c77f2533c4d016ac03c829c839b7b538bba5e4768ccf54f1:1ed10c4979af6fc548d6b8d4534d505e02e84ac4b0aa4f8633555b2ba75119e8 --> <!-- ralph-base:8c091221457d2f0903264385a89f71446153467e --> <!-- ralph-head:3d92fe8bbdf8c0b5e14ad824c792c53a697137a7 --> <!-- ralph-case:e3d895c17dc31f2978f9f8723cf1b2cc8127815ffcb44ad1af6be1231adbd78a --> Backport verdict: **Needs clarification** Fidelity could not be established from the available evidence. Review coverage was incomplete. <!-- Review tier: standard --> --- Reviewed: [`3d92fe8bbdf8`](<https://git.fish.foo/bitcoin/bitcoin/commit/3d92fe8bbdf8c0b5e14ad824c792c53a697137a7>) · [Review report](<https://review.fish.foo/report/36927-3d92fe8bbdf8c0b5e14ad824c792c53a697137a7-2880-3.html>) · [Previous reports](<https://review.fish.foo/traces/36927/>) [permalink](<https://review.fish.foo/report/36927-3d92fe8bbdf8c0b5e14ad824c792c53a697137a7-2880-3.html>)
hebasto (Migrated from github.com) approved these changes 2026-11-20 15:59:45 +00:00
hebasto (Migrated from github.com) left a comment

ACK 3d92fe8bbd.

ACK 3d92fe8bbdf8c0b5e14ad824c792c53a697137a7.
fanquake commented 2026-11-20 16:44:38 +00:00 (Migrated from github.com)

Backported to 31.x in #36928.

Backported to `31.x` in #36928.
fanquake commented 2026-11-20 16:49:29 +00:00 (Migrated from github.com)

Backported to 30.x in #36929.

Backported to `30.x` in #36929.
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!36927
No description provided.