From 1f9b72225d8ef45b3831f81eac46492bbf5071ec Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Wed, 22 May 2019 12:47:04 +0200 Subject: cmake: disable fallthrough warnings for PCRE Our PCRE dependency has uncommented fallthroughs in switch statements. Turn off warnings for those in the PCRE code. --- deps/pcre/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/deps/pcre/CMakeLists.txt b/deps/pcre/CMakeLists.txt index 432e774bb..aff2d751b 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 -- cgit v1.2.1