mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-05 14:06:27 -05:00
Merge bitcoin/bitcoin#31315: build: Enable -Wbidi-chars=any
fa7857ccda
build: Enable -Wbidi-chars=any (MarcoFalke) Pull request description: I don't see a use-case for UTF-8 bidirectional control characters in this codebase. So disable them for now. Ref: https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wbidi-chars_003d ACKs for top commit: fanquake: ACKfa7857ccda
Tree-SHA512: 29cf78a2bd0fd94f919f4cd1d1038009a574b4d011146c69bf94d3c06951606200b7d1f827ac6f2fb4540e8f45118ba72b3ccf6c20ef8048e819974371d8f67a
This commit is contained in:
commit
1209a1082c
1 changed files with 1 additions and 0 deletions
|
@ -417,6 +417,7 @@ else()
|
|||
try_append_cxx_flags("-Wunreachable-code" TARGET warn_interface SKIP_LINK)
|
||||
try_append_cxx_flags("-Wdocumentation" TARGET warn_interface SKIP_LINK)
|
||||
try_append_cxx_flags("-Wself-assign" TARGET warn_interface SKIP_LINK)
|
||||
try_append_cxx_flags("-Wbidi-chars=any" TARGET warn_interface SKIP_LINK)
|
||||
try_append_cxx_flags("-Wundef" TARGET warn_interface SKIP_LINK)
|
||||
|
||||
# Some compilers (gcc) ignore unknown -Wno-* options, but warn about all
|
||||
|
|
Loading…
Add table
Reference in a new issue