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:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d0210e1ecce..0a79f95b57e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1004,6 +1004,7 @@ elseif(WIN32)
set(_WARNINGS
# warning level:
"/W3"
+ "/w34062" # switch statement contains 'default' but no 'case' labels
# disable:
"/wd4018" # signed/unsigned mismatch
"/wd4065" # switch statement contains 'default' but no 'case' labels
@@ -1016,6 +1017,7 @@ elseif(WIN32)
"/wd4800" # forcing value to bool 'true' or 'false'
# errors:
"/we4013" # 'function' undefined; assuming extern returning int
+ "/we4431" # missing type specifier - int assumed
)
string(REPLACE ";" " " _WARNINGS "${_WARNINGS}")