File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ function(aws_cryptosdk_set_common_properties target)
5252 list (APPEND AWS_C_FLAGS /wd4267 /wd4242 /wd4244) # Narrowing implicit conversions of int types
5353 list (APPEND AWS_C_FLAGS /wd4245) # Implicit sign extension, unsigned to signed conversion
5454 list (APPEND AWS_C_FLAGS /wd4221) # obj = { .foo = nonconstant() }
55+ list (APPEND AWS_C_FLAGS /wd4996) # Use of deprecated APIs, necessary for OpenSSL3
5556
5657 # MSVC warnings about C99 standard stuff
5758 list (APPEND AWS_C_FLAGS /wd4204) # arr = { 0, 1, 2 } initializers
@@ -74,6 +75,7 @@ function(aws_cryptosdk_set_common_properties target)
7475 list (APPEND AWS_C_FLAGS -Wno-long-long)
7576 list (APPEND AWS_C_FLAGS -Wno-missing-field-initializers)
7677 list (APPEND AWS_C_FLAGS -Wno-shorten-64-to-32)
78+ list (APPEND AWS_C_FLAGS -Wno-deprecated-declarations)
7779 endif (MSVC )
7880
7981 if (NOT SET_PROPERTIES_NO_WGNU)
You can’t perform that action at this time.
0 commit comments