3
0
Fork 0
forked from suyu/suyu

CMakeLists: Enforce C5233 on MSVC

This is similar to Clang's -Wunused-lambda-capture
This commit is contained in:
Morph 2022-10-21 02:34:07 -04:00
parent 3822e31323
commit b02c3f2314

View file

@ -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