summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-09-10 20:49:52 +0200
committerTycho <work.tycho+git@gmail.com>2014-09-10 20:49:52 +0200
commitcf69ddcce17f98fb4218d3747dad584e303ba3de (patch)
tree4365549c4b74c08e99bd8cb2f47df7df8d78d2d5
parentAdded MCServer_ prfix to env vars for versions (diff)
downloadcuberite-cf69ddcce17f98fb4218d3747dad584e303ba3de.tar
cuberite-cf69ddcce17f98fb4218d3747dad584e303ba3de.tar.gz
cuberite-cf69ddcce17f98fb4218d3747dad584e303ba3de.tar.bz2
cuberite-cf69ddcce17f98fb4218d3747dad584e303ba3de.tar.lz
cuberite-cf69ddcce17f98fb4218d3747dad584e303ba3de.tar.xz
cuberite-cf69ddcce17f98fb4218d3747dad584e303ba3de.tar.zst
cuberite-cf69ddcce17f98fb4218d3747dad584e303ba3de.zip
-rw-r--r--SetFlags.cmake9
1 files changed, 4 insertions, 5 deletions
diff --git a/SetFlags.cmake b/SetFlags.cmake
index 0835189ad..1827a4b66 100644
--- a/SetFlags.cmake
+++ b/SetFlags.cmake
@@ -239,12 +239,11 @@ macro(set_exe_flags)
# clang does not provide the __extern_always_inline macro and a part of libm depends on this when using fast-math
add_flags_cxx("-D__extern_always_inline=inline")
add_flags_cxx("-Werror -Weverything -Wno-c++98-compat-pedantic -Wno-string-conversion")
- add_flags_cxx("-Wno-error=switch-enum -Wno-exit-time-destructors")
- add_flags_cxx("-Wno-error=sign-conversion -Wno-error=conversion -Wno-padded")
- add_flags_cxx("-Wno-error=deprecated -Wno-error=weak-vtables -Wno-error=float-equal")
- add_flags_cxx("-Wno-error=missing-prototypes -Wno-error=non-virtual-dtor")
+ add_flags_cxx("-Wno-exit-time-destructors -Wno-padded")
+ add_flags_cxx("-Wno-error=sign-conversion -Wno-error=conversion -Wno-error=deprecated")
+ add_flags_cxx("-Wno-error=missing-prototypes")
add_flags_cxx("-Wno-error=shadow -Wno-error=old-style-cast -Wno-error=global-constructors")
- add_flags_cxx("-Wno-error=exit-time-destructors")
+ add_flags_cxx("-Wno-error=float-equal")
add_flags_cxx("-Wno-weak-vtables -Wno-switch-enum")
if ("${CLANG_VERSION}" VERSION_GREATER 3.0)
# flags that are not present in 3.0