From 226f7b69281b84d78d6aaef2be0ce7ef03d518dd Mon Sep 17 00:00:00 2001 From: cc9cii Date: Fri, 18 Dec 2015 19:42:19 +1100 Subject: [PATCH] Suppress additional MSVC warnings after Update 1 --- CMakeLists.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4395df940..e8e0a26f7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -706,7 +706,13 @@ if (WIN32) # MSVC 2015 if (MSVC_VERSION GREATER 1899) - set(WARNINGS_DISABLE ${WARNINGS_DISABLE} 5026 5027) + set(WARNINGS_DISABLE ${WARNINGS_DISABLE} + 4464 # relative include path contains '..' + 5026 # move constructor was implicitly defined as deleted + 5027 # move assignment operator was implicitly defined as deleted + 5031 # #pragma warning(pop): likely mismatch, popping warning state pushed in different file + 5032 # detected #pragma warning(push) with no corresponding #pragma warning(pop) + ) endif() foreach(d ${WARNINGS_DISABLE})