aboutsummaryrefslogtreecommitdiff
path: root/cmake/compiler/clang/settings.cmake
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2020-04-26 01:25:50 +0200
committerShauren <shauren.trinity@gmail.com>2020-04-26 01:25:50 +0200
commit7272508cb4b51ec5591b6f0e542ea29091db7546 (patch)
tree8116597f80245ecd0a7e0b0d70e82647cb3175ce /cmake/compiler/clang/settings.cmake
parent70c2b4e5baeed0034bbde1fe345267b2b1c2154f (diff)
Core: Fix clang 10 warnings
Diffstat (limited to 'cmake/compiler/clang/settings.cmake')
-rw-r--r--cmake/compiler/clang/settings.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmake/compiler/clang/settings.cmake b/cmake/compiler/clang/settings.cmake
index d42345541ee..17a85f259ed 100644
--- a/cmake/compiler/clang/settings.cmake
+++ b/cmake/compiler/clang/settings.cmake
@@ -12,7 +12,8 @@ if(WITH_WARNINGS)
-Winit-self
-Wfatal-errors
-Wno-mismatched-tags
- -Woverloaded-virtual)
+ -Woverloaded-virtual
+ -Wno-deprecated-copy) # warning in g3d
message(STATUS "Clang: All warnings enabled")
endif()
@@ -27,6 +28,7 @@ endif()
# -Wno-narrowing needed to suppress a warning in g3d
# -Wno-deprecated-register is needed to suppress 185 gsoap warnings on Unix systems.
+# -Wno-deprecated-copy needed to suppress a warning in g3d
target_compile_options(trinity-compile-option-interface
INTERFACE
-Wno-narrowing