forked from ShuriZma/suyu
1
0
Fork 0

Merge pull request #6552 from Morph1984/c4189-msvc

CMakeLists: Enforce C4189 on MSVC
This commit is contained in:
Mai M 2021-07-04 22:16:28 -04:00 committed by GitHub
commit 669cef2da3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -49,6 +49,7 @@ if (MSVC)
/W3
/we4062 # enumerator 'identifier' in a switch of enum 'enumeration' is not handled
/we4101 # 'identifier': unreferenced local variable
/we4189 # 'identifier': local variable is initialized but not referenced
/we4265 # 'class': class has virtual functions, but destructor is not virtual
/we4388 # signed/unsigned mismatch
/we4547 # 'operator' : operator before comma has no effect; expected operator with side-effect