forked from ShuriZma/suyu
1
0
Fork 0

video_core/cmake: Enforce -Warray-bounds and -Wmissing-field-initializers

This commit is contained in:
ReinUsesLisp 2021-01-24 04:42:41 -03:00
parent 1b76e7e890
commit cc4335a9c6
1 changed files with 2 additions and 0 deletions

View File

@ -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