summaryrefslogtreecommitdiffstats
path: root/SetFlags.cmake
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-04-01 15:01:14 +0200
committermadmaxoft <github@xoft.cz>2014-04-01 15:01:14 +0200
commitfd062f611e1cee8d166bac834934e02a6d286462 (patch)
treea95e810dacf82a8dc82a62ba29f6dc91721938c8 /SetFlags.cmake
parentFixed clang warnings in cGZipFile. (diff)
parentAttempt at disabling the useless clang warnings. (diff)
downloadcuberite-fd062f611e1cee8d166bac834934e02a6d286462.tar
cuberite-fd062f611e1cee8d166bac834934e02a6d286462.tar.gz
cuberite-fd062f611e1cee8d166bac834934e02a6d286462.tar.bz2
cuberite-fd062f611e1cee8d166bac834934e02a6d286462.tar.lz
cuberite-fd062f611e1cee8d166bac834934e02a6d286462.tar.xz
cuberite-fd062f611e1cee8d166bac834934e02a6d286462.tar.zst
cuberite-fd062f611e1cee8d166bac834934e02a6d286462.zip
Diffstat (limited to 'SetFlags.cmake')
-rw-r--r--SetFlags.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/SetFlags.cmake b/SetFlags.cmake
index bbd8254ad..d90ad8b48 100644
--- a/SetFlags.cmake
+++ b/SetFlags.cmake
@@ -198,6 +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-weak-vtables -Wno-switch-enum")
endif()
endif()