Skip to content

Commit 1f9b722

Browse files
committed
cmake: disable fallthrough warnings for PCRE
Our PCRE dependency has uncommented fallthroughs in switch statements. Turn off warnings for those in the PCRE code.
1 parent ca04636 commit 1f9b722

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

deps/pcre/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ CHECK_TYPE_SIZE("long long" LONG_LONG)
2121
CHECK_TYPE_SIZE("unsigned long long" UNSIGNED_LONG_LONG)
2222

2323
DISABLE_WARNINGS(unused-function)
24+
DISABLE_WARNINGS(implicit-fallthrough)
2425

2526
# User-configurable options
2627

0 commit comments

Comments
 (0)