Commit 2f7b6ad5070635edefa87e0cff76d897e8df5cfb

Edward Thomson 2019-05-23T00:41:16

Merge pull request #5083 from libgit2/ethomson/pcre_warnings cmake: disable fallthrough warnings for PCRE

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/deps/pcre/CMakeLists.txt b/deps/pcre/CMakeLists.txt
index 432e774..aff2d75 100644
--- a/deps/pcre/CMakeLists.txt
+++ b/deps/pcre/CMakeLists.txt
@@ -21,6 +21,7 @@ CHECK_TYPE_SIZE("long long"             LONG_LONG)
 CHECK_TYPE_SIZE("unsigned long long"    UNSIGNED_LONG_LONG)
 
 DISABLE_WARNINGS(unused-function)
+DISABLE_WARNINGS(implicit-fallthrough)
 
 # User-configurable options