summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorGravatar Morph2022-10-21 02:34:07 -0400
committerGravatar Morph2022-10-22 15:02:04 -0400
commitb02c3f2314a5561803f873ddd2d2f4dc024c1ed4 (patch)
treefacef658d95d2f088972bb785ee961630ed420e6 /src/CMakeLists.txt
parentCMakeLists: Disable C4100 and C4324 (diff)
downloadyuzu-b02c3f2314a5561803f873ddd2d2f4dc024c1ed4.tar.gz
yuzu-b02c3f2314a5561803f873ddd2d2f4dc024c1ed4.tar.xz
yuzu-b02c3f2314a5561803f873ddd2d2f4dc024c1ed4.zip
CMakeLists: Enforce C5233 on MSVC
This is similar to Clang's -Wunused-lambda-capture
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index c94b78eb7..9ff96c044 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -75,6 +75,7 @@ if (MSVC)
75 /we4555 # Expression has no effect; expected expression with side-effect 75 /we4555 # Expression has no effect; expected expression with side-effect
76 /we4826 # Conversion from 'type1' to 'type2' is sign-extended. This may cause unexpected runtime behavior. 76 /we4826 # Conversion from 'type1' to 'type2' is sign-extended. This may cause unexpected runtime behavior.
77 /we5038 # data member 'member1' will be initialized after data member 'member2' 77 /we5038 # data member 'member1' will be initialized after data member 'member2'
78 /we5233 # explicit lambda capture 'identifier' is not used
78 /we5245 # 'function': unreferenced function with internal linkage has been removed 79 /we5245 # 'function': unreferenced function with internal linkage has been removed
79 80
80 /wd4100 # 'identifier': unreferenced formal parameter 81 /wd4100 # 'identifier': unreferenced formal parameter