diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-03-07 19:26:07 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-03-07 19:26:07 +0100 |
commit | b480148116ea7099c9a6afda83f74a3d45815a83 (patch) | |
tree | 0c2d81026e0b10f3be435e3d7e21528113b7e89f /SetFlags.cmake | |
parent | Merge pull request #765 from worktycho/fastmath (diff) | |
download | cuberite-b480148116ea7099c9a6afda83f74a3d45815a83.tar cuberite-b480148116ea7099c9a6afda83f74a3d45815a83.tar.gz cuberite-b480148116ea7099c9a6afda83f74a3d45815a83.tar.bz2 cuberite-b480148116ea7099c9a6afda83f74a3d45815a83.tar.lz cuberite-b480148116ea7099c9a6afda83f74a3d45815a83.tar.xz cuberite-b480148116ea7099c9a6afda83f74a3d45815a83.tar.zst cuberite-b480148116ea7099c9a6afda83f74a3d45815a83.zip |
Diffstat (limited to '')
-rw-r--r-- | SetFlags.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SetFlags.cmake b/SetFlags.cmake index 6a8211fa2..35831e7e9 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") + add_flags_cxx("-Wall -Wextra -Werror -Wno-error=unused-parameter") # we support non-IEEE 754 fpus so can make no guarentees about error add_flags_cxx("-ffast-math") |