mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 21:10:42 +00:00
Ignore format truncation warning on utf8printf.cpp
* We deliberately truncate in some tests, to check our printf behaves correctly.
This commit is contained in:
@@ -205,6 +205,9 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR APPLE)
|
||||
if(CMAKE_COMPILER_IS_GNUCXX)
|
||||
set_property(SOURCE 3rdparty/jpeg-compressor/jpgd.cpp
|
||||
APPEND_STRING PROPERTY COMPILE_FLAGS " -Wno-unknown-warning -Wno-implicit-fallthrough")
|
||||
|
||||
set_property(SOURCE serialise/utf8printf.cpp
|
||||
APPEND_STRING PROPERTY COMPILE_FLAGS " -Wno-unknown-warning -Wno-format-truncation")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user