From a99fcb4e7d53575d2fe2795c1a968fabb1e764ef Mon Sep 17 00:00:00 2001 From: Jamie Seward Date: Tue, 17 Oct 2017 22:53:35 -0700 Subject: [PATCH] Add comments and newline --- test/CMakeLists.txt | 8 ++++---- test/src/unit-readme.cpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 0a4680ea..c7286783 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -75,10 +75,10 @@ if(MSVC) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W4") endif() - # warning C4389: '==': signed/unsigned mismatch - # warning C4309: 'static_cast': truncation of constant value - # warning C4566: character represented by universal-character-name '\uFF01' cannot be represented in the current code page (1252) - # warning C4996: 'nlohmann::basic_json::operator <<': was declared deprecated + # 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") endif() diff --git a/test/src/unit-readme.cpp b/test/src/unit-readme.cpp index 576f5834..5a442c60 100644 --- a/test/src/unit-readme.cpp +++ b/test/src/unit-readme.cpp @@ -306,4 +306,4 @@ TEST_CASE("README", "[hide]") #if defined(_MSC_VER) #pragma warning (pop) -#endif \ No newline at end of file +#endif