summaryrefslogtreecommitdiffstats
path: root/SetFlags.cmake
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-09 17:16:15 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-09 17:16:15 +0100
commitc5436e1ae75928f08a411d29a0b28241c3f2b062 (patch)
tree0533147168b2e622cde08ca829155790a03807cf /SetFlags.cmake
parentMerge branch 'warnings' into Werror (diff)
downloadcuberite-c5436e1ae75928f08a411d29a0b28241c3f2b062.tar
cuberite-c5436e1ae75928f08a411d29a0b28241c3f2b062.tar.gz
cuberite-c5436e1ae75928f08a411d29a0b28241c3f2b062.tar.bz2
cuberite-c5436e1ae75928f08a411d29a0b28241c3f2b062.tar.lz
cuberite-c5436e1ae75928f08a411d29a0b28241c3f2b062.tar.xz
cuberite-c5436e1ae75928f08a411d29a0b28241c3f2b062.tar.zst
cuberite-c5436e1ae75928f08a411d29a0b28241c3f2b062.zip
Diffstat (limited to 'SetFlags.cmake')
-rw-r--r--SetFlags.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/SetFlags.cmake b/SetFlags.cmake
index 56d32b8fe..ec2f6c556 100644
--- a/SetFlags.cmake
+++ b/SetFlags.cmake
@@ -192,6 +192,15 @@ macro(set_exe_flags)
add_flags_cxx("-D__extern_always_inline=inline")
add_flags_cxx("-Weverything -Wno-c++98-compat-pedantic -Wno-string-conversion")
add_flags_cxx("-Wno-extra-semi -Wno-error=switch-enum -Wno-documentation")
+ add_flags_cxx("-Wno-error=sign-conversion -Wno-error=conversion -Wno-error=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-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=cast-align -Wno-error=unused-macros")
+ 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-error=format-nonliteral")
endif()
endif()