mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
Ignore -Wmaybe-uninitialized on GCC. Refs #815
This commit is contained in:
+1
-1
@@ -212,7 +212,7 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
-Wno-unknown-pragmas
|
||||
-Wno-reorder)
|
||||
if(CMAKE_COMPILER_IS_GNUCXX)
|
||||
list(APPEND warning_flags -Wno-unused-but-set-variable)
|
||||
list(APPEND warning_flags -Wno-unused-but-set-variable -Wno-maybe-uninitialized)
|
||||
|
||||
# We keep the implicit fallthrough warning for now, but allow more
|
||||
# comments to silence it.
|
||||
|
||||
Reference in New Issue
Block a user