Commit 1f9b7222 by Edward Thomson

cmake: disable fallthrough warnings for PCRE

Our PCRE dependency has uncommented fallthroughs in switch statements.
Turn off warnings for those in the PCRE code.
parent ca046360
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment