summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLC <mathew1800@gmail.com>2021-01-13 08:30:31 +0100
committerGitHub <noreply@github.com>2021-01-13 08:30:31 +0100
commitc320da3f63c0c28f7a21a0f2b1ef5912b3c74455 (patch)
treee4d8b81becfd9b45ff706b8d61008e4ab9329879 /src
parentMerge pull request #5280 from FearlessTobi/port-5666 (diff)
parentcmake: Enforce -Werror=switch and -Werror=unused-variable (diff)
downloadyuzu-c320da3f63c0c28f7a21a0f2b1ef5912b3c74455.tar
yuzu-c320da3f63c0c28f7a21a0f2b1ef5912b3c74455.tar.gz
yuzu-c320da3f63c0c28f7a21a0f2b1ef5912b3c74455.tar.bz2
yuzu-c320da3f63c0c28f7a21a0f2b1ef5912b3c74455.tar.lz
yuzu-c320da3f63c0c28f7a21a0f2b1ef5912b3c74455.tar.xz
yuzu-c320da3f63c0c28f7a21a0f2b1ef5912b3c74455.tar.zst
yuzu-c320da3f63c0c28f7a21a0f2b1ef5912b3c74455.zip
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 61adbef28..ee6f61f16 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -67,8 +67,10 @@ else()
-Werror=implicit-fallthrough
-Werror=missing-declarations
-Werror=reorder
+ -Werror=switch
-Werror=uninitialized
-Werror=unused-result
+ -Werror=unused-variable
-Wextra
-Wmissing-declarations
-Wno-attributes