aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2020-10-26 18:23:14 +0100
committerPřemysl Eric Janouch <p@janouch.name>2020-10-26 18:25:32 +0100
commit8822d06091942454324936329bfade6a47444d70 (patch)
tree3550f02ed6be37c26c7ea7f594f438c28899f97a
parent96397778144722f7983774e9fc88521f4d36d3c7 (diff)
downloadliberty-8822d06091942454324936329bfade6a47444d70.tar.gz
liberty-8822d06091942454324936329bfade6a47444d70.tar.xz
liberty-8822d06091942454324936329bfade6a47444d70.zip
Don't suppress -Wimplicit-fallthrough
Might have already been resolved by: 9494e8e da75b6f
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a71d85a..0aedcc6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -4,7 +4,7 @@ cmake_minimum_required (VERSION 2.8.5)
# Moar warnings
if ("${CMAKE_C_COMPILER_ID}" MATCHES "GNU" OR CMAKE_COMPILER_IS_GNUCC)
# -Wunused-function is pretty annoying here, as everything is static
- set (wdisabled "-Wno-unused-function -Wno-implicit-fallthrough")
+ set (wdisabled "-Wno-unused-function")
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -Wall -Wextra ${wdisabled}")
endif ("${CMAKE_C_COMPILER_ID}" MATCHES "GNU" OR CMAKE_COMPILER_IS_GNUCC)