[Bf-blender-cvs] [7427e3e5013] master: MSVC: ignore warning c4828 The file contains a character that is illegal.

Ray Molenkamp noreply at git.blender.org
Sat Mar 17 19:45:35 CET 2018


Commit: 7427e3e50134692a5308cda21685d7231a5fcee2
Author: Ray Molenkamp
Date:   Sat Mar 17 12:45:27 2018 -0600
Branches: master
https://developer.blender.org/rB7427e3e50134692a5308cda21685d7231a5fcee2

MSVC: ignore warning c4828 The file contains a character that is illegal.

The only place this warning is coming from is from comments in headers of 3rd party libs. we can safely repress this warning for now.

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

M	CMakeLists.txt

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

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 025b76cd22b..9909544cd1a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1514,6 +1514,7 @@ elseif(CMAKE_C_COMPILER_ID MATCHES "MSVC")
 		"/wd4267"  # conversion from 'size_t' to 'type', possible loss of data
 		"/wd4305"  # truncation from 'type1' to 'type2'
 		"/wd4800"  # forcing value to bool 'true' or 'false'
+		"/wd4828"  # The file contains a character that is illegal 
 		# errors:
 		"/we4013"  # 'function' undefined; assuming extern returning int
 		"/we4133"  # incompatible pointer types



More information about the Bf-blender-cvs mailing list