CMake: Repress deprecation warnings with MSVC.

This commit is contained in:
Ray molenkamp 2018-09-25 11:05:01 -06:00
parent d95a8988ea
commit fcf3aa90da
1 changed files with 1 additions and 0 deletions

View File

@ -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