From fcf3aa90daed0dde8c770857990f92c6601f8096 Mon Sep 17 00:00:00 2001 From: Ray Molenkamp Date: Tue, 25 Sep 2018 11:05:01 -0600 Subject: [PATCH] CMake: Repress deprecation warnings with MSVC. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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