From 25e0175bc3c231650597eb01f97aad8f0ae89c09 Mon Sep 17 00:00:00 2001 From: Michael Balszun Date: Tue, 19 Nov 2019 11:26:35 +0100 Subject: [PATCH] Remove unnecessary warning suppressions in test cmake file --- test/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index df2f055b..8769c6b9 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -87,11 +87,9 @@ if(MSVC) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W4") endif() - # Disable warning C4389: '==': signed/unsigned mismatch - # Disable warning C4309: 'static_cast': truncation of constant value # Disable warning C4566: character represented by universal-character-name '\uFF01' cannot be represented in the current code page (1252) # Disable warning C4996: 'nlohmann::basic_json::operator <<': was declared deprecated - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4389 /wd4309 /wd4566 /wd4996") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4566 /wd4996") # https://github.com/nlohmann/json/issues/1114 set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /bigobj")