aboutsummaryrefslogtreecommitdiff
path: root/cmake/compiler/clang
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2020-07-13 18:35:13 +0200
committerShauren <shauren.trinity@gmail.com>2022-01-23 00:18:39 +0100
commitd4568a90b19e1a1247df71332eec90c3e9243a6b (patch)
tree9644846432caab85799260f0e4c02c7b97407851 /cmake/compiler/clang
parent365ae6ff25a288ea83e192066b9cc162a020a844 (diff)
Fix warnings related to Vector3::operator= and remove -Wno-deprecated-copy suppression
(cherry picked from commit 042b1abfd747160085e5acc24a842a076b20ea01)
Diffstat (limited to 'cmake/compiler/clang')
-rw-r--r--cmake/compiler/clang/settings.cmake9
1 files changed, 0 insertions, 9 deletions
diff --git a/cmake/compiler/clang/settings.cmake b/cmake/compiler/clang/settings.cmake
index 136a25a2a0c..19d7222b65a 100644
--- a/cmake/compiler/clang/settings.cmake
+++ b/cmake/compiler/clang/settings.cmake
@@ -16,15 +16,6 @@ if(WITH_WARNINGS)
-Wno-mismatched-tags
-Woverloaded-virtual)
- set(CMAKE_REQUIRED_FLAGS "-Wno-deprecated-copy")
- check_cxx_source_compiles("int main() { return 0; }" CLANG_HAS_DEPRECATED_COPY)
- unset(CMAKE_REQUIRED_FLAGS)
- if(CLANG_HAS_DEPRECATED_COPY)
- target_compile_options(trinity-warning-interface
- INTERFACE
- -Wno-deprecated-copy) # warning in g3d
- endif()
-
message(STATUS "Clang: All warnings enabled")
endif()