Skip to content

Fix clang "unknown warning group" errors#65

Merged
ryanofsky merged 1 commit intobitcoin-core:masterfrom
ryanofsky:pr/warnwarn
Jan 3, 2022
Merged

Fix clang "unknown warning group" errors#65
ryanofsky merged 1 commit intobitcoin-core:masterfrom
ryanofsky:pr/warnwarn

Conversation

@ryanofsky
Copy link
Copy Markdown
Collaborator

Use clang __has_warning macro to avoid unknown warning group '-Wsuggest-override' warning in older versions of clang that have the __has_warning macro but don't have the suggest-override warning.

Errors were showing up https://github.com/bitcoin/bitcoin/pull/10102/checks?check_run_id=4671391974 / https://cirrus-ci.com/task/4642955743985664

Use clang __has_warning macro to avoid "unknown warning group
'-Wsuggest-override'" warning in older versions of clang that have the
__has_warning macro but don't have the suggest-override warning.

Errors were showing up in
https://github.com/bitcoin/bitcoin/pull/10102/checks?check_run_id=4671391974
https://cirrus-ci.com/task/4642955743985664
@ryanofsky ryanofsky merged commit 7d10f3b into bitcoin-core:master Jan 3, 2022
@bitcoin-core bitcoin-core locked and limited conversation to collaborators Jun 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant