summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-05-03 00:18:46 +0200
committerGitHub <noreply@github.com>2023-05-03 00:18:46 +0200
commit451b1bba26a257484aa71af93722a014d50bf2d4 (patch)
tree9c146563d2cc86f7c352d67b4c66754fd0451861
parentMerge pull request #10130 from liamwhite/keys (diff)
parentCMake: Enable type limits on Clang (diff)
downloadyuzu-451b1bba26a257484aa71af93722a014d50bf2d4.tar
yuzu-451b1bba26a257484aa71af93722a014d50bf2d4.tar.gz
yuzu-451b1bba26a257484aa71af93722a014d50bf2d4.tar.bz2
yuzu-451b1bba26a257484aa71af93722a014d50bf2d4.tar.lz
yuzu-451b1bba26a257484aa71af93722a014d50bf2d4.tar.xz
yuzu-451b1bba26a257484aa71af93722a014d50bf2d4.tar.zst
yuzu-451b1bba26a257484aa71af93722a014d50bf2d4.zip
Diffstat (limited to '')
-rw-r--r--src/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 312a49f42..5e3a74c0f 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -113,6 +113,9 @@ else()
$<$<CXX_COMPILER_ID:Clang>:-Wno-braced-scalar-init>
$<$<CXX_COMPILER_ID:Clang>:-Wno-unused-private-field>
+ $<$<CXX_COMPILER_ID:Clang>:-Werror=shadow-uncaptured-local>
+ $<$<CXX_COMPILER_ID:Clang>:-Werror=implicit-fallthrough>
+ $<$<CXX_COMPILER_ID:Clang>:-Werror=type-limits>
$<$<CXX_COMPILER_ID:AppleClang>:-Wno-braced-scalar-init>
$<$<CXX_COMPILER_ID:AppleClang>:-Wno-unused-private-field>
)