summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-07 20:16:16 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-07 20:16:16 +0100
commitd51cab2d3bb579b663c1211dfc1e69039165c06f (patch)
tree14cd8c3f5ab64fcb2637bdf311c8c00ba43e8501
parentWarnings (diff)
downloadcuberite-d51cab2d3bb579b663c1211dfc1e69039165c06f.tar
cuberite-d51cab2d3bb579b663c1211dfc1e69039165c06f.tar.gz
cuberite-d51cab2d3bb579b663c1211dfc1e69039165c06f.tar.bz2
cuberite-d51cab2d3bb579b663c1211dfc1e69039165c06f.tar.lz
cuberite-d51cab2d3bb579b663c1211dfc1e69039165c06f.tar.xz
cuberite-d51cab2d3bb579b663c1211dfc1e69039165c06f.tar.zst
cuberite-d51cab2d3bb579b663c1211dfc1e69039165c06f.zip
Diffstat (limited to '')
-rw-r--r--SetFlags.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/SetFlags.cmake b/SetFlags.cmake
index 35831e7e9..e6ba782fc 100644
--- a/SetFlags.cmake
+++ b/SetFlags.cmake
@@ -182,7 +182,7 @@ macro(set_exe_flags)
string(REPLACE "-w" "" CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}")
string(REPLACE "-w" "" CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}")
string(REPLACE "-w" "" CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}")
- add_flags_cxx("-Wall -Wextra -Werror -Wno-error=unused-parameter")
+ add_flags_cxx("-Wall -Wextra -Werror -Wno-error=unused-parameter -Wno-error=switch")
# we support non-IEEE 754 fpus so can make no guarentees about error
add_flags_cxx("-ffast-math")