From 77b76b98a8eab87d6609f89ef09c2f470d8af849 Mon Sep 17 00:00:00 2001 From: baldurk Date: Tue, 7 Jan 2020 13:43:04 +0000 Subject: [PATCH] Allow -Wimplicit-fallthrough on qrenderdoc project --- qrenderdoc/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qrenderdoc/CMakeLists.txt b/qrenderdoc/CMakeLists.txt index 8bf011f19..6d8fdb731 100644 --- a/qrenderdoc/CMakeLists.txt +++ b/qrenderdoc/CMakeLists.txt @@ -169,7 +169,7 @@ file(WRITE if(CMAKE_COMPILER_IS_GNUCXX) file(APPEND ${CMAKE_BINARY_DIR}/qrenderdoc/qrenderdoc_cmake.pri - "QMAKE_CXXFLAGS+=-Wno-unknown-warning -Wno-implicit-fallthrough -Wno-cast-function-type -Wno-stringop-truncation\n") + "QMAKE_CXXFLAGS+=-Wno-unknown-warning -Wno-cast-function-type -Wno-stringop-truncation\n") endif() if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 3.9)