Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-12-21 06:54:36 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-12-21 06:54:36 +0300
commit46af314bd96a9d1e267698df5c074dd4fc4cc6e2 (patch)
tree92de358dcffcf1e3fd69b5877363b0ae57b38adb /CMakeLists.txt
parent10cf7499e7f63502b612e8731c2ef2923f1a85c9 (diff)
CMake: disable warning 4146
This is warning on noisy (false positives).
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 354e4adb0d7..14248d6da3a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2738,6 +2738,7 @@ elseif(CMAKE_C_COMPILER_ID MATCHES "MSVC")
"/w34062" # switch statement contains 'default' but no 'case' labels
# disable:
"/wd4018" # signed/unsigned mismatch
+ "/wd4146" # unary minus operator applied to unsigned type, result still unsigned
"/wd4065" # switch statement contains 'default' but no 'case' labels
"/wd4127" # conditional expression is constant
"/wd4181" # qualifier applied to reference type; ignored