summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-09 12:37:36 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-09 12:37:36 +0100
commitb4e3d0aa4e573200d1fffc3073e791c54d9eb20c (patch)
tree0b7c134a7069a238b92666f0adb7c371e875ef30
parentMerge branch 'warnings' into Werror (diff)
downloadcuberite-b4e3d0aa4e573200d1fffc3073e791c54d9eb20c.tar
cuberite-b4e3d0aa4e573200d1fffc3073e791c54d9eb20c.tar.gz
cuberite-b4e3d0aa4e573200d1fffc3073e791c54d9eb20c.tar.bz2
cuberite-b4e3d0aa4e573200d1fffc3073e791c54d9eb20c.tar.lz
cuberite-b4e3d0aa4e573200d1fffc3073e791c54d9eb20c.tar.xz
cuberite-b4e3d0aa4e573200d1fffc3073e791c54d9eb20c.tar.zst
cuberite-b4e3d0aa4e573200d1fffc3073e791c54d9eb20c.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 e6ba782fc..4e20c84ab 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 -Wno-error=switch")
+ add_flags_cxx("-Wall -Wextra -Werror -Wno-unused-parameter -Wno-error=switch")
# we support non-IEEE 754 fpus so can make no guarentees about error
add_flags_cxx("-ffast-math")