summaryrefslogtreecommitdiffstats
path: root/SetFlags.cmake
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2016-01-07 02:31:27 +0100
committerworktycho <work.tycho@gmail.com>2016-01-07 02:31:27 +0100
commit5593db13eb84b756d10a7e5054c74c88d78ff85b (patch)
tree58db7ffefac6b6878f9ebc37ff7d754f56cceabd /SetFlags.cmake
parentMerge pull request #2844 from mathias-github/silktouch (diff)
parentFixed Clang warnings. (diff)
downloadcuberite-5593db13eb84b756d10a7e5054c74c88d78ff85b.tar
cuberite-5593db13eb84b756d10a7e5054c74c88d78ff85b.tar.gz
cuberite-5593db13eb84b756d10a7e5054c74c88d78ff85b.tar.bz2
cuberite-5593db13eb84b756d10a7e5054c74c88d78ff85b.tar.lz
cuberite-5593db13eb84b756d10a7e5054c74c88d78ff85b.tar.xz
cuberite-5593db13eb84b756d10a7e5054c74c88d78ff85b.tar.zst
cuberite-5593db13eb84b756d10a7e5054c74c88d78ff85b.zip
Diffstat (limited to 'SetFlags.cmake')
-rw-r--r--SetFlags.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/SetFlags.cmake b/SetFlags.cmake
index 4d6833edd..bde3be549 100644
--- a/SetFlags.cmake
+++ b/SetFlags.cmake
@@ -264,6 +264,7 @@ macro(set_exe_flags)
add_flags_cxx("-D__extern_always_inline=inline")
add_flags_cxx("-Weverything -Werror -Wno-c++98-compat-pedantic -Wno-string-conversion")
add_flags_cxx("-Wno-exit-time-destructors -Wno-padded -Wno-weak-vtables")
+ add_flags_cxx("-Wno-switch-enum") # This is a pretty useless warning, we've already got -Wswitch which is what we need
if ("${CLANG_VERSION}" VERSION_GREATER 3.0)
# flags that are not present in 3.0
add_flags_cxx("-Wno-implicit-fallthrough")