diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-01-24 04:42:41 -0300 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-01-24 04:42:41 -0300 |
commit | cc4335a9c61466096e351542f584919a86ba5ea7 (patch) | |
tree | 3df5d28d29a82de3acfdded13790880f606cf665 | |
parent | 1b76e7e890b92dcb549e2cfc3d7ee895fcd33598 (diff) |
video_core/cmake: Enforce -Warray-bounds and -Wmissing-field-initializers
-rw-r--r-- | src/video_core/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/CMakeLists.txt b/src/video_core/CMakeLists.txt index bb1f8491f..8bf6eba0e 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 |