From 7272508cb4b51ec5591b6f0e542ea29091db7546 Mon Sep 17 00:00:00 2001 From: Shauren Date: Sun, 26 Apr 2020 01:25:50 +0200 Subject: Core: Fix clang 10 warnings --- cmake/compiler/clang/settings.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cmake/compiler/clang') 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 -- cgit v1.2.3