mirror of
https://github.com/nlohmann/json
synced 2024-11-23 12:30:06 +00:00
🏁 moved /Wall to CMake
This commit is contained in:
parent
829ed74d66
commit
21410d50af
@ -6,8 +6,8 @@ os:
|
||||
|
||||
environment:
|
||||
matrix:
|
||||
- additional_flags: "/Wall"
|
||||
- additional_flags: "/permissive- /std:c++latest /utf-8 /Wall"
|
||||
- additional_flags: ""
|
||||
- additional_flags: "/permissive- /std:c++latest /utf-8"
|
||||
|
||||
matrix:
|
||||
exclude:
|
||||
|
@ -82,7 +82,7 @@ if(MSVC)
|
||||
# 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<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator,nlohmann::adl_serializer>::operator <<': was declared deprecated
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4389 /wd4309 /wd4566 /wd4996")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4389 /wd4309 /wd4566 /wd4996 /Wall")
|
||||
endif()
|
||||
|
||||
#############################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user