summaryrefslogtreecommitdiffstats
path: root/SetFlags.cmake
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-14 15:45:24 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-14 15:45:24 +0100
commit0ad835d1cf50ebfdc5789364a52559e7f5d6e822 (patch)
tree12c974bc5baf58394c0f61bfb35e0483ac29de84 /SetFlags.cmake
parentDisable global constructors and exit-time destructors warnings (diff)
parentMerge pull request #805 from worktycho/undef (diff)
downloadcuberite-0ad835d1cf50ebfdc5789364a52559e7f5d6e822.tar
cuberite-0ad835d1cf50ebfdc5789364a52559e7f5d6e822.tar.gz
cuberite-0ad835d1cf50ebfdc5789364a52559e7f5d6e822.tar.bz2
cuberite-0ad835d1cf50ebfdc5789364a52559e7f5d6e822.tar.lz
cuberite-0ad835d1cf50ebfdc5789364a52559e7f5d6e822.tar.xz
cuberite-0ad835d1cf50ebfdc5789364a52559e7f5d6e822.tar.zst
cuberite-0ad835d1cf50ebfdc5789364a52559e7f5d6e822.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 05f2b90c0..89bf35668 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-exit-time-destructors -Wno-error=missing-variable-declarations")
add_flags_cxx("-Wno-global-constructors -Wno-implicit-fallthrough")
- add_flags_cxx("-Wno-missing-noreturn -Wno-error=unreachable-code -Wno-error=undef")
+ add_flags_cxx("-Wno-missing-noreturn -Wno-error=unreachable-code")
endif()
endif()