diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-01-24 21:31:29 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-01-24 21:31:29 +0100 |
commit | 748551dafba54ae0c9a43946dbe50c878a1be17d (patch) | |
tree | feef65544b13daeb621e109ae6a10b52cc5414da | |
parent | video_core/cmake: Enforce -Warray-bounds and -Wmissing-field-initializers (diff) | |
download | yuzu-748551dafba54ae0c9a43946dbe50c878a1be17d.tar yuzu-748551dafba54ae0c9a43946dbe50c878a1be17d.tar.gz yuzu-748551dafba54ae0c9a43946dbe50c878a1be17d.tar.bz2 yuzu-748551dafba54ae0c9a43946dbe50c878a1be17d.tar.lz yuzu-748551dafba54ae0c9a43946dbe50c878a1be17d.tar.xz yuzu-748551dafba54ae0c9a43946dbe50c878a1be17d.tar.zst yuzu-748551dafba54ae0c9a43946dbe50c878a1be17d.zip |
-rw-r--r-- | src/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/video_core/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 478246b6f..1cfd3bbc9 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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 diff --git a/src/video_core/CMakeLists.txt b/src/video_core/CMakeLists.txt index 8bf6eba0e..bb1f8491f 100644 --- a/src/video_core/CMakeLists.txt +++ b/src/video_core/CMakeLists.txt @@ -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 |