Skip to content

Commit 25e0175

Browse files
committed
Remove unnecessary warning suppressions in test cmake file
1 parent 5c045f7 commit 25e0175

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,9 @@ if(MSVC)
8787
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W4")
8888
endif()
8989

90-
# Disable warning C4389: '==': signed/unsigned mismatch
91-
# Disable warning C4309: 'static_cast': truncation of constant value
9290
# Disable warning C4566: character represented by universal-character-name '\uFF01' cannot be represented in the current code page (1252)
9391
# Disable warning C4996: 'nlohmann::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator,nlohmann::adl_serializer>::operator <<': was declared deprecated
94-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4389 /wd4309 /wd4566 /wd4996")
92+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4566 /wd4996")
9593

9694
# https://github.com/nlohmann/json/issues/1114
9795
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /bigobj")

0 commit comments

Comments
 (0)