CMakeLists: Enforce C5233 on MSVC

This is similar to Clang's -Wunused-lambda-capture
merge-requests/60/head
Morph 2022-10-21 02:34:07 +07:00
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
/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'
/we5233 # explicit lambda capture 'identifier' is not used
/we5245 # 'function': unreferenced function with internal linkage has been removed
/wd4100 # 'identifier': unreferenced formal parameter