diff --git a/cmake/flags.cmake b/cmake/flags.cmake index e0896f72b90..29b531c7c51 100644 --- a/cmake/flags.cmake +++ b/cmake/flags.cmake @@ -355,6 +355,9 @@ function(setupBuildFlags) "$<$>:NDEBUG>" _WIN32_WINNT=_WIN32_WINNT_WIN7 NTDDI_VERSION=NTDDI_WIN7 + # VS2022 warns about this; the AWS SDK uses this non standard extension. + # Updating the SDK and switching to C++20 should fix this. + _SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING ) set(windows_cxx_compile_options