summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2015-11-19 22:32:13 +0100
committerworktycho <work.tycho@gmail.com>2015-11-19 22:32:13 +0100
commit98d4695e58d4188f57adad474a36b617cb56c42a (patch)
treeacfc163ad782aef703c0977b3b4cfacfd4157155
parentMerge pull request #2451 from cuberite/mobchartoint (diff)
downloadcuberite-98d4695e58d4188f57adad474a36b617cb56c42a.tar
cuberite-98d4695e58d4188f57adad474a36b617cb56c42a.tar.gz
cuberite-98d4695e58d4188f57adad474a36b617cb56c42a.tar.bz2
cuberite-98d4695e58d4188f57adad474a36b617cb56c42a.tar.lz
cuberite-98d4695e58d4188f57adad474a36b617cb56c42a.tar.xz
cuberite-98d4695e58d4188f57adad474a36b617cb56c42a.tar.zst
cuberite-98d4695e58d4188f57adad474a36b617cb56c42a.zip
-rw-r--r--SetFlags.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/SetFlags.cmake b/SetFlags.cmake
index b4c7365fe..f8335cd25 100644
--- a/SetFlags.cmake
+++ b/SetFlags.cmake
@@ -285,6 +285,9 @@ macro(set_exe_flags)
add_flags_cxx("-Wno-documentation-unknown-command")
endif()
endif()
+ if ("${CLANG_VERSION}" VERSION_GREATER 3.5)
+ add_flags_cxx("-Wno-error=disabled-macro-expansion")
+ endif()
endif()
endif()