summaryrefslogtreecommitdiffstats
path: root/SetFlags.cmake
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-14 16:04:48 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-14 16:04:48 +0100
commit693e59c6a4e47b5ee3d0422c6cdb9527d32491c0 (patch)
tree91a1ab3710a58e8996345f0de21ccb9ee9cbaa63 /SetFlags.cmake
parentAdded Noreturn attribtes to a couple of functions and made a missing noreturn an error (diff)
parentMerge pull request #805 from worktycho/undef (diff)
downloadcuberite-693e59c6a4e47b5ee3d0422c6cdb9527d32491c0.tar
cuberite-693e59c6a4e47b5ee3d0422c6cdb9527d32491c0.tar.gz
cuberite-693e59c6a4e47b5ee3d0422c6cdb9527d32491c0.tar.bz2
cuberite-693e59c6a4e47b5ee3d0422c6cdb9527d32491c0.tar.lz
cuberite-693e59c6a4e47b5ee3d0422c6cdb9527d32491c0.tar.xz
cuberite-693e59c6a4e47b5ee3d0422c6cdb9527d32491c0.tar.zst
cuberite-693e59c6a4e47b5ee3d0422c6cdb9527d32491c0.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 e636c5c95..b786da0d0 100644
--- a/SetFlags.cmake
+++ b/SetFlags.cmake
@@ -198,7 +198,7 @@ macro(set_exe_flags)
add_flags_cxx("-Wno-error=covered-switch-default -Wno-error=shadow")
add_flags_cxx("-Wno-error=exit-time-destructors -Wno-error=missing-variable-declarations")
add_flags_cxx("-Wno-error=global-constructors -Wno-implicit-fallthrough")
- add_flags_cxx("-Wno-error=unreachable-code -Wno-error=undef")
+ add_flags_cxx("-Wno-error=unreachable-code")
endif()
endif()