summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-01-24 21:31:29 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2021-01-24 21:31:29 +0100
commit748551dafba54ae0c9a43946dbe50c878a1be17d (patch)
treefeef65544b13daeb621e109ae6a10b52cc5414da /src/CMakeLists.txt
parentvideo_core/cmake: Enforce -Warray-bounds and -Wmissing-field-initializers (diff)
downloadyuzu-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
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 2 insertions, 0 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