[Bf-blender-cvs] [fcf3aa90dae] master: CMake: Repress deprecation warnings with MSVC.

Ray Molenkamp noreply at git.blender.org
Tue Sep 25 19:05:41 CEST 2018


Commit: fcf3aa90daed0dde8c770857990f92c6601f8096
Author: Ray Molenkamp
Date:   Tue Sep 25 11:05:01 2018 -0600
Branches: master
https://developer.blender.org/rBfcf3aa90daed0dde8c770857990f92c6601f8096

CMake: Repress deprecation warnings with MSVC.

===================================================================

M	CMakeLists.txt

===================================================================

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 91a79af8141..c51558d6b08 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1518,6 +1518,7 @@ elseif(CMAKE_C_COMPILER_ID MATCHES "MSVC")
 		"/wd4305"  # truncation from 'type1' to 'type2'
 		"/wd4800"  # forcing value to bool 'true' or 'false'
 		"/wd4828"  # The file contains a character that is illegal
+		"/wd4996"  # identifier was declared deprecated
 		# errors:
 		"/we4013"  # 'function' undefined; assuming extern returning int
 		"/we4133"  # incompatible pointer types



More information about the Bf-blender-cvs mailing list