mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-25 00:03:42 +00:00
Disable Clang "-Wshorten-64-to-32" for files
3rdParty source files and some renderdoc files which include 3rdparty header files Disable "-Wshorten-64-to-32" for the whole of qrenderdoc render_python.cxx triggers the warning
This commit is contained in:
1 parent
0d02425a87
commit
fb04266122
5 files changed
+8
-5
No files matched your search
@@ -17,7 +17,7 @@ set(MODULE_DEFINES
|
||||
PRIVATE -DRENDERDOC_PLATFORM_LINUX)
|
||||
|
||||
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unknown-warning-option -Wno-unused-private-field -Wno-shadow")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unknown-warning-option -Wno-unused-private-field -Wno-shadow -Wno-shorten-64-to-32")
|
||||
endif()
|
||||
|
||||
if(CMAKE_COMPILER_IS_GNUCXX)
|
||||
|
||||
Reference in new issue
Block a user