[Bf-blender-cvs] [d5953822888] master: cmake/msvc: Repress MSVC template warning C4661

Ray Molenkamp noreply at git.blender.org
Mon May 27 00:13:39 CEST 2019


Commit: d59538228886e5aaba13f04b27d99e5b78b241e8
Author: Ray Molenkamp
Date:   Sun May 26 16:13:31 2019 -0600
Branches: master
https://developer.blender.org/rBd59538228886e5aaba13f04b27d99e5b78b241e8

cmake/msvc: Repress MSVC template warning C4661

Draco emits about 60 of these, consulted with brecht before
repressing them.

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

M	CMakeLists.txt

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

diff --git a/CMakeLists.txt b/CMakeLists.txt
index f55ae5f5b8a..20cdac84e06 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1552,6 +1552,7 @@ elseif(CMAKE_C_COMPILER_ID MATCHES "MSVC")
     "/wd4800"  # forcing value to bool 'true' or 'false'
     "/wd4828"  # The file contains a character that is illegal
     "/wd4996"  # identifier was declared deprecated
+    "/wd4661"  # no suitable definition provided for explicit template instantiation request
     # errors:
     "/we4013"  # 'function' undefined; assuming extern returning int
     "/we4133"  # incompatible pointer types



More information about the Bf-blender-cvs mailing list