diff options
author | Shauren <shauren.trinity@gmail.com> | 2020-04-26 01:25:50 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2020-04-26 01:25:50 +0200 |
commit | 7272508cb4b51ec5591b6f0e542ea29091db7546 (patch) | |
tree | 8116597f80245ecd0a7e0b0d70e82647cb3175ce /cmake/compiler/clang | |
parent | 70c2b4e5baeed0034bbde1fe345267b2b1c2154f (diff) |
Core: Fix clang 10 warnings
Diffstat (limited to 'cmake/compiler/clang')
-rw-r--r-- | cmake/compiler/clang/settings.cmake | 4 |
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 |