mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-26 16:36:31 +00:00
Fix a number of warnings identified by higher clang warning levels
* We enable a couple of high signal-to-noise warnings in all clang builds
This commit is contained in:
@@ -168,6 +168,12 @@ if(CMAKE_COMPILER_IS_GNUCXX)
|
||||
"QMAKE_CXXFLAGS+=-Wno-unknown-warning -Wno-implicit-fallthrough -Wno-cast-function-type -Wno-stringop-truncation\n")
|
||||
endif()
|
||||
|
||||
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
file(APPEND
|
||||
${CMAKE_BINARY_DIR}/qrenderdoc/qrenderdoc_cmake.pri
|
||||
"QMAKE_CXXFLAGS+=-Wno-comma\n")
|
||||
endif()
|
||||
|
||||
if(ENABLE_WAYLAND)
|
||||
message(WARNING "!!!! Using the Wayland Qt platform in qrenderdoc is NOT SUPPORTED !!!!")
|
||||
file(APPEND
|
||||
|
||||
@@ -112,13 +112,7 @@
|
||||
}
|
||||
|
||||
// ignore some operators SWIG doesn't have to worry about
|
||||
%ignore SDType::operator=;
|
||||
%ignore StructuredObjectList::swap;
|
||||
%ignore StructuredChunkList::swap;
|
||||
%ignore StructuredObjectList::operator=;
|
||||
%ignore StructuredObjectList::operator=;
|
||||
%ignore StructuredChunkList::operator=;
|
||||
%ignore StructuredBufferList::operator=;
|
||||
%ignore *::operator=;
|
||||
|
||||
// these objects return a new copy which the python caller should own.
|
||||
%newobject SDObject::Duplicate;
|
||||
|
||||
Reference in New Issue
Block a user