diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-03-09 12:58:08 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-03-09 12:58:08 +0100 |
commit | 59d42ec5b2c666f1f50c9763dad13e97e2c6040f (patch) | |
tree | 19aa86a031a0bb308d3efaa3fb3f2fefc6fe6fe7 | |
parent | Merge branch 'warnings' into Werror (diff) | |
download | cuberite-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 |
Diffstat (limited to '')
-rw-r--r-- | SetFlags.cmake | 2 |
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() |