CMakeLists: Treat MSVC warnings as errors
This commit is contained in:
parent
e6ab1f673b
commit
f3c40f4a20
4 changed files with 2 additions and 3 deletions
|
@ -58,6 +58,8 @@ if (MSVC)
|
|||
|
||||
# Warnings
|
||||
/W3
|
||||
/WX
|
||||
|
||||
/we4018 # 'expression': signed/unsigned mismatch
|
||||
/we4062 # Enumerator 'identifier' in a switch of enum 'enumeration' is not handled
|
||||
/we4101 # 'identifier': unreferenced local variable
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue