mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
CMakeLists: Enforce C5233 on MSVC
This is similar to Clang's -Wunused-lambda-capture
This commit is contained in:
parent
3822e31323
commit
b02c3f2314
1 changed files with 1 additions and 0 deletions
|
@ -75,6 +75,7 @@ if (MSVC)
|
||||||
/we4555 # Expression has no effect; expected expression with side-effect
|
/we4555 # Expression has no effect; expected expression with side-effect
|
||||||
/we4826 # Conversion from 'type1' to 'type2' is sign-extended. This may cause unexpected runtime behavior.
|
/we4826 # Conversion from 'type1' to 'type2' is sign-extended. This may cause unexpected runtime behavior.
|
||||||
/we5038 # data member 'member1' will be initialized after data member 'member2'
|
/we5038 # data member 'member1' will be initialized after data member 'member2'
|
||||||
|
/we5233 # explicit lambda capture 'identifier' is not used
|
||||||
/we5245 # 'function': unreferenced function with internal linkage has been removed
|
/we5245 # 'function': unreferenced function with internal linkage has been removed
|
||||||
|
|
||||||
/wd4100 # 'identifier': unreferenced formal parameter
|
/wd4100 # 'identifier': unreferenced formal parameter
|
||||||
|
|
Loading…
Reference in a new issue