Skip to content

Commit 1209a10

Browse files
committed
Merge bitcoin/bitcoin#31315: build: Enable -Wbidi-chars=any
fa7857c 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: ACK fa7857c Tree-SHA512: 29cf78a2bd0fd94f919f4cd1d1038009a574b4d011146c69bf94d3c06951606200b7d1f827ac6f2fb4540e8f45118ba72b3ccf6c20ef8048e819974371d8f67a
2 parents ab22726 + fa7857c commit 1209a10

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,7 @@ else()
417417
try_append_cxx_flags("-Wunreachable-code" TARGET warn_interface SKIP_LINK)
418418
try_append_cxx_flags("-Wdocumentation" TARGET warn_interface SKIP_LINK)
419419
try_append_cxx_flags("-Wself-assign" TARGET warn_interface SKIP_LINK)
420+
try_append_cxx_flags("-Wbidi-chars=any" TARGET warn_interface SKIP_LINK)
420421
try_append_cxx_flags("-Wundef" TARGET warn_interface SKIP_LINK)
421422

422423
# Some compilers (gcc) ignore unknown -Wno-* options, but warn about all

0 commit comments

Comments
 (0)