mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-18 19:39:59 +00:00
cmake: Enforce -Warray-bounds and -Wmissing-field-initializers globally
This commit is contained in:
parent
cc4335a9c6
commit
748551dafb
2 changed files with 2 additions and 2 deletions
|
@ -64,8 +64,10 @@ if (MSVC)
|
|||
else()
|
||||
add_compile_options(
|
||||
-Wall
|
||||
-Werror=array-bounds
|
||||
-Werror=implicit-fallthrough
|
||||
-Werror=missing-declarations
|
||||
-Werror=missing-field-initializers
|
||||
-Werror=reorder
|
||||
-Werror=switch
|
||||
-Werror=uninitialized
|
||||
|
|
|
@ -308,10 +308,8 @@ 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
|
||||
|
|
Loading…
Reference in a new issue