From b02c3f2314a5561803f873ddd2d2f4dc024c1ed4 Mon Sep 17 00:00:00 2001 From: Morph <39850852+Morph1984@users.noreply.github.com> Date: Fri, 21 Oct 2022 02:34:07 -0400 Subject: CMakeLists: Enforce C5233 on MSVC This is similar to Clang's -Wunused-lambda-capture --- src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/CMakeLists.txt') 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) /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 -- cgit v1.2.3