We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2efb63a commit 4a63c8bCopy full SHA for 4a63c8b
modules/cpp-optparse.cmake
@@ -5,7 +5,8 @@ if(NOT TARGET cpp-optparse)
5
add_library(cpp-optparse ${SOURCE_FILES})
6
if(MSVC)
7
# C4244: 'conversion' conversion from 'type1' to 'type2', possible loss of data
8
- set_target_properties(cpp-optparse PROPERTIES COMPILE_FLAGS "${PEDANTIC_COMPILE_FLAGS} /wd4244")
+ # C4996: <header> is removed in C++20
9
+ set_target_properties(cpp-optparse PROPERTIES COMPILE_FLAGS "${PEDANTIC_COMPILE_FLAGS} /wd4244 /wd4996")
10
else()
11
set_target_properties(cpp-optparse PROPERTIES COMPILE_FLAGS "${PEDANTIC_COMPILE_FLAGS}")
12
endif()
0 commit comments