summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortycho <work.tycho@gmail.com>2015-05-24 14:24:34 +0200
committertycho <work.tycho@gmail.com>2015-05-24 14:24:34 +0200
commit7a8025eacd28388b70a180f0b3348b09c4f14cf0 (patch)
tree25ea090e874dd82af3092ee662a6ef59fa0e13cb
parentMade -Weverything an error. (diff)
downloadcuberite-7a8025eacd28388b70a180f0b3348b09c4f14cf0.tar
cuberite-7a8025eacd28388b70a180f0b3348b09c4f14cf0.tar.gz
cuberite-7a8025eacd28388b70a180f0b3348b09c4f14cf0.tar.bz2
cuberite-7a8025eacd28388b70a180f0b3348b09c4f14cf0.tar.lz
cuberite-7a8025eacd28388b70a180f0b3348b09c4f14cf0.tar.xz
cuberite-7a8025eacd28388b70a180f0b3348b09c4f14cf0.tar.zst
cuberite-7a8025eacd28388b70a180f0b3348b09c4f14cf0.zip
-rw-r--r--Tools/MCADefrag/CMakeLists.txt3
-rw-r--r--Tools/ProtoProxy/CMakeLists.txt3
2 files changed, 4 insertions, 2 deletions
diff --git a/Tools/MCADefrag/CMakeLists.txt b/Tools/MCADefrag/CMakeLists.txt
index a4096791d..17e332d8d 100644
--- a/Tools/MCADefrag/CMakeLists.txt
+++ b/Tools/MCADefrag/CMakeLists.txt
@@ -12,7 +12,8 @@ set_lib_flags()
enable_profile()
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
- add_flags_cxx("-Wno-error=sign-conversion -Wno-error=conversion -Wno-error=shorten-64-to-32")
+ add_flags_cxx("-Wno-error=sign-conversion -Wno-error=conversion -Wno-error=shorten-64-to-32 -Wno-error=keyword-macro")
+ add_flags_cxx("-Wno-error=old-style-cast")
endif()
# Set include paths to the used libraries:
diff --git a/Tools/ProtoProxy/CMakeLists.txt b/Tools/ProtoProxy/CMakeLists.txt
index 1c48d7d93..0d3ef3f3e 100644
--- a/Tools/ProtoProxy/CMakeLists.txt
+++ b/Tools/ProtoProxy/CMakeLists.txt
@@ -15,7 +15,8 @@ include_directories("../../lib/polarssl/include")
include_directories("../../src")
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
- add_flags_cxx("-Wno-error=conversion")
+ add_flags_cxx("-Wno-error=sign-conversion -Wno-error=conversion -Wno-error=shorten-64-to-32 -Wno-error=keyword-macro")
+ add_flags_cxx("-Wno-error=old-style-cast")
endif()
function(flatten_files arg1)