diff options
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 |