summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-09 12:58:08 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-09 12:58:08 +0100
commit59d42ec5b2c666f1f50c9763dad13e97e2c6040f (patch)
tree19aa86a031a0bb308d3efaa3fb3f2fefc6fe6fe7
parentMerge branch 'warnings' into Werror (diff)
downloadcuberite-59d42ec5b2c666f1f50c9763dad13e97e2c6040f.tar
cuberite-59d42ec5b2c666f1f50c9763dad13e97e2c6040f.tar.gz
cuberite-59d42ec5b2c666f1f50c9763dad13e97e2c6040f.tar.bz2
cuberite-59d42ec5b2c666f1f50c9763dad13e97e2c6040f.tar.lz
cuberite-59d42ec5b2c666f1f50c9763dad13e97e2c6040f.tar.xz
cuberite-59d42ec5b2c666f1f50c9763dad13e97e2c6040f.tar.zst
cuberite-59d42ec5b2c666f1f50c9763dad13e97e2c6040f.zip
-rw-r--r--SetFlags.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/SetFlags.cmake b/SetFlags.cmake
index 4e20c84ab..56d32b8fe 100644
--- a/SetFlags.cmake
+++ b/SetFlags.cmake
@@ -190,6 +190,8 @@ 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
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
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")
endif()
endif()