summaryrefslogtreecommitdiffstats
path: root/SetFlags.cmake
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-09 18:41:53 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-09 18:41:53 +0100
commit713c59b60b6a096554eda7fabc7696b33a6fcb59 (patch)
tree2889450805c8a277aa9758380f5d4cc0d0a80276 /SetFlags.cmake
parentGlobals.h is now warnings free again. (diff)
downloadcuberite-713c59b60b6a096554eda7fabc7696b33a6fcb59.tar
cuberite-713c59b60b6a096554eda7fabc7696b33a6fcb59.tar.gz
cuberite-713c59b60b6a096554eda7fabc7696b33a6fcb59.tar.bz2
cuberite-713c59b60b6a096554eda7fabc7696b33a6fcb59.tar.lz
cuberite-713c59b60b6a096554eda7fabc7696b33a6fcb59.tar.xz
cuberite-713c59b60b6a096554eda7fabc7696b33a6fcb59.tar.zst
cuberite-713c59b60b6a096554eda7fabc7696b33a6fcb59.zip
Diffstat (limited to 'SetFlags.cmake')
-rw-r--r--SetFlags.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/SetFlags.cmake b/SetFlags.cmake
index 82472f333..e71bf315d 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-unused-parameter -Wno-error=switch")
+ add_flags_cxx("-Wall -Wextra -Werror -Wno-unused-parameter -Wno-error=switch -Wno-error=enum-compare")
# we support non-IEEE 754 fpus so can make no guarentees about error
add_flags_cxx("-ffast-math")