summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Mai M2022-04-08 00:19:00 -0400
committerGravatar GitHub2022-04-08 00:19:00 -0400
commit21359936b84b30b7b83de31d86ee2bbe0bc668d3 (patch)
treedda60afa3a1fc4eaf4ca5b6c3fbc27a007265d8e /src
parentMerge pull request #8167 from Tachi107/patch-1 (diff)
parentCMakeLists: Enforce C4505 and C5245 (diff)
downloadyuzu-21359936b84b30b7b83de31d86ee2bbe0bc668d3.tar.gz
yuzu-21359936b84b30b7b83de31d86ee2bbe0bc668d3.tar.xz
yuzu-21359936b84b30b7b83de31d86ee2bbe0bc668d3.zip
Merge pull request #8173 from Morph1984/msvc-warn-unused-fn
CMakeLists: Enforce C4505 and C5245
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 3ad2c0950..9182dbfd4 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -65,12 +65,14 @@ if (MSVC)
65 /we4305 # 'context': truncation from 'type1' to 'type2' 65 /we4305 # 'context': truncation from 'type1' to 'type2'
66 /we4388 # 'expression': signed/unsigned mismatch 66 /we4388 # 'expression': signed/unsigned mismatch
67 /we4389 # 'operator': signed/unsigned mismatch 67 /we4389 # 'operator': signed/unsigned mismatch
68 /we4505 # 'function': unreferenced local function has been removed
68 /we4547 # 'operator': operator before comma has no effect; expected operator with side-effect 69 /we4547 # 'operator': operator before comma has no effect; expected operator with side-effect
69 /we4549 # 'operator1': operator before comma has no effect; did you intend 'operator2'? 70 /we4549 # 'operator1': operator before comma has no effect; did you intend 'operator2'?
70 /we4555 # Expression has no effect; expected expression with side-effect 71 /we4555 # Expression has no effect; expected expression with side-effect
71 /we4715 # 'function': not all control paths return a value 72 /we4715 # 'function': not all control paths return a value
72 /we4834 # Discarding return value of function with 'nodiscard' attribute 73 /we4834 # Discarding return value of function with 'nodiscard' attribute
73 /we5038 # data member 'member1' will be initialized after data member 'member2' 74 /we5038 # data member 'member1' will be initialized after data member 'member2'
75 /we5245 # 'function': unreferenced function with internal linkage has been removed
74 ) 76 )
75 77
76 if (ARCHITECTURE_x86_64) 78 if (ARCHITECTURE_x86_64)