mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-11-23 00:25:47 +01:00
video_core/cmake: Enforce -Warray-bounds and -Wmissing-field-initializers
This commit is contained in:
parent
1b76e7e890
commit
cc4335a9c6
@ -308,8 +308,10 @@ if (MSVC)
|
|||||||
)
|
)
|
||||||
else()
|
else()
|
||||||
target_compile_options(video_core PRIVATE
|
target_compile_options(video_core PRIVATE
|
||||||
|
-Werror=array-bounds
|
||||||
-Werror=conversion
|
-Werror=conversion
|
||||||
-Wno-error=sign-conversion
|
-Wno-error=sign-conversion
|
||||||
|
-Werror=missing-field-initializers
|
||||||
-Werror=pessimizing-move
|
-Werror=pessimizing-move
|
||||||
-Werror=redundant-move
|
-Werror=redundant-move
|
||||||
-Werror=shadow
|
-Werror=shadow
|
||||||
|
Loading…
Reference in New Issue
Block a user