summaryrefslogtreecommitdiffstats
path: root/SetFlags.cmake
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-03-14 15:37:01 +0100
committerMattes D <github@xoft.cz>2014-03-14 15:37:01 +0100
commitadf5a6074684428a4519bd2b88193e57d211ddec (patch)
tree843befcb9e8f3b8d207924c8e1566bbfcf778a05 /SetFlags.cmake
parentMerge pull request #798 from worktycho/warnings (diff)
parentFixed a couple of missing defs (diff)
downloadcuberite-adf5a6074684428a4519bd2b88193e57d211ddec.tar
cuberite-adf5a6074684428a4519bd2b88193e57d211ddec.tar.gz
cuberite-adf5a6074684428a4519bd2b88193e57d211ddec.tar.bz2
cuberite-adf5a6074684428a4519bd2b88193e57d211ddec.tar.lz
cuberite-adf5a6074684428a4519bd2b88193e57d211ddec.tar.xz
cuberite-adf5a6074684428a4519bd2b88193e57d211ddec.tar.zst
cuberite-adf5a6074684428a4519bd2b88193e57d211ddec.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 42cfa6769..cdafcaa83 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-missing-noreturn -Wno-error=unreachable-code -Wno-error=undef")
+ add_flags_cxx("-Wno-missing-noreturn -Wno-error=unreachable-code")
endif()
endif()