diff options
author | Ray Molenkamp <github@lazydodo.com> | 2018-09-25 20:05:01 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2018-09-25 20:05:35 +0300 |
commit | fcf3aa90daed0dde8c770857990f92c6601f8096 (patch) | |
tree | 391a3dfcaa3319216d3a10535341a71d9dc0c5b7 | |
parent | d95a8988ea031a8d92a9e140b5a1dfcd6a5562da (diff) |
CMake: Repress deprecation warnings with MSVC.
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
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 |