Fix warnings related to Vector3::operator= and remove -Wno-deprecated-copy suppression
# Conflicts: # cmake/compiler/clang/settings.cmake
This commit is contained in:
1 parent
cb4e7821e3
commit
78e7687a05
4 files changed
+29
-19
No files matched your search
@@ -14,12 +14,6 @@ if(WITH_WARNINGS)
|
||||
-Wno-mismatched-tags
|
||||
-Woverloaded-virtual)
|
||||
|
||||
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 10)
|
||||
target_compile_options(trinity-warning-interface
|
||||
INTERFACE
|
||||
-Wno-deprecated-copy) # warning in g3d
|
||||
endif()
|
||||
|
||||
message(STATUS "Clang: All warnings enabled")
|
||||
endif()
|
||||
|
||||
|
||||
@@ -33,10 +33,6 @@ if( WITH_WARNINGS )
|
||||
-Wfatal-errors
|
||||
-Woverloaded-virtual)
|
||||
|
||||
target_compile_options(trinity-warning-interface
|
||||
INTERFACE
|
||||
-Wno-deprecated-copy) # warning in g3d
|
||||
|
||||
message(STATUS "GCC: All warnings enabled")
|
||||
endif()
|
||||
|
||||
|
||||
Reference in new issue
Block a user