diff options
author | mano-wii <germano.costa@ig.com.br> | 2019-03-22 22:15:46 +0300 |
---|---|---|
committer | mano-wii <germano.costa@ig.com.br> | 2019-03-22 22:15:46 +0300 |
commit | edcb5415a275cd121b49972fa8baead4b43cad4d (patch) | |
tree | 4026d1e34f03d6fbb7d6c71a20d362f0c9ee679a /CMakeLists.txt | |
parent | 9e3e92a908dfaff6a3dbaba8ae31b1bef0d1d557 (diff) |
MSVC: add C4115 and C4189 warnings.
This matches the warnings of the other compilers commonly used in Blender.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a71677c0308..c10d433813a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1517,6 +1517,8 @@ elseif(CMAKE_C_COMPILER_ID MATCHES "MSVC") # warning level: "/W3" "/w34062" # switch statement contains 'default' but no 'case' labels + "/w34115" # 'type' : named type definition in parentheses + "/w34189" # local variable is initialized but not referenced # disable: "/wd4018" # signed/unsigned mismatch "/wd4146" # unary minus operator applied to unsigned type, result still unsigned |