theuni
commented at 9:10 pm on June 5, 2024:
member
Noticed while looking at the -wno-* flags in #30235.
This was disabled in #18738 due to the combo of old gcc and qt. We no longer support the affected gcc, and the old qt should no longer be relevant to us anyway.
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.
DrahtBot added the label
Build system
on Jun 5, 2024
maflcko
commented at 7:21 am on June 6, 2024:
member
ACKc3a5e8a0639ff2505adb4a4e7776db87d5ebafd3
maflcko added the label
Needs CMake port
on Jun 6, 2024
fanquake approved
fanquake
commented at 9:48 am on June 6, 2024:
member
ACKc3a5e8a0639ff2505adb4a4e7776db87d5ebafd3 - this is in -Wextra for Clang and GCC.
fanquake merged this
on Jun 6, 2024
fanquake closed this
on Jun 6, 2024
maflcko
commented at 9:50 am on June 6, 2024:
member
An alternative/addition would be to have one CI task compile with C++23, but that can be done after the cmake transition (remind me)
fanquake
commented at 9:55 am on June 6, 2024:
member
An alternative/addition would be to have one CI task compile with C++23, but that can be done after the cmake transition (remind me)
Can you clarify how this PR is related to C++23? I don’t see CMake as a blocker, if that’s something we want to do.
hebasto
commented at 10:27 am on June 6, 2024:
member
Strong recommendation: take decisive action early in the C++23 development cycle, so early adopters can shake out the remaining cost of updating old code. Note that this would be both an API and ABI breaking change, and it would be good to set that precedent early if we wish to allow such breakage in C++23.
But that didn’t happen.
hebasto
commented at 10:36 am on June 6, 2024:
member
CMake includes dependencies with -isystem, which is equivalent to suppress_external_warnings = yes. Therefore, the block removed in this PR has never been a part of the CMake staging branch.
hebasto removed the label
Needs CMake port
on Jun 6, 2024
fanquake
commented at 10:38 am on June 6, 2024:
member
unless -Wdeprecated-copy-dtor is passed.
I think we can turn on additional warning flags, if you think that is valuable.
CMake includes dependencies with -isystem, which is equivalent to suppress_external_warnings = yes.
We may still need a way to disable that functionality, so all warnings can be observed, so I think this block (or atleast the functionality) is still relevant.
fanquake
commented at 10:39 am on June 6, 2024:
member
maflcko
commented at 10:43 am on June 6, 2024:
member
unless -Wdeprecated-copy-dtor is passed.
I think we can turn on additional warning flags, if you think that is valuable.
Yeah, not sure how useful that’d be, given that the deprecation apparently won’t result in a deletion (for now).
CMake includes dependencies with -isystem, which is equivalent to suppress_external_warnings = yes.
We may still need a way to disable that functionality, so all warnings can be observed, so I think this block (or atleast the functionality) is still relevant.
Yeah, could open a tracking issue in the cmake repo (hebasto/bitcoin)?
fanquake
commented at 10:57 am on June 6, 2024:
member
Yeah, could open a tracking issue in the cmake repo (hebasto/bitcoin)?
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2025-07-05 21:12 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me