From cc4335a9c61466096e351542f584919a86ba5ea7 Mon Sep 17 00:00:00 2001 From: ReinUsesLisp Date: Sun, 24 Jan 2021 04:42:41 -0300 Subject: [PATCH] video_core/cmake: Enforce -Warray-bounds and -Wmissing-field-initializers --- src/video_core/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/video_core/CMakeLists.txt b/src/video_core/CMakeLists.txt index bb1f8491fa..8bf6eba0e8 100644 --- a/src/video_core/CMakeLists.txt +++ b/src/video_core/CMakeLists.txt @@ -308,8 +308,10 @@ if (MSVC) ) else() target_compile_options(video_core PRIVATE + -Werror=array-bounds -Werror=conversion -Wno-error=sign-conversion + -Werror=missing-field-initializers -Werror=pessimizing-move -Werror=redundant-move -Werror=shadow