aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-08-09 18:43:25 -0400
committerDrew DeVault <sir@cmpwn.com>2017-08-09 18:43:25 -0400
commit2689238058fcbeebc4a6b2b224fca39ca48f2ded (patch)
treef31cc355015792a0759b918fd41daff703dab6fb
parent3553fa0a74a715086086024203e7541a9f93d8b7 (diff)
downloadsway-2689238058fcbeebc4a6b2b224fca39ca48f2ded.tar.xz
Re-enable implicit fallthrough warnings
-rw-r--r--CMakeLists.txt5
1 files changed, 0 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 459eeb04..95f539e7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -12,11 +12,6 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wextra")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-parameter")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-result")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror")
-if (CMAKE_COMPILER_IS_GNUCC)
- if(NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 7.0)
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wimplicit-fallthrough=0")
- endif()
-endif()
list(INSERT CMAKE_MODULE_PATH 0
${CMAKE_CURRENT_SOURCE_DIR}/CMake