Skip to content

Commit

Permalink
build: Silence deprecation warnings about non standard extensions on …
Browse files Browse the repository at this point in the history
…VS2022 (osquery#8405)
  • Loading branch information
Smjert authored Sep 3, 2024
1 parent fd1e088 commit 0ac9dbc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake/flags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,9 @@ function(setupBuildFlags)
"$<$<NOT:$<CONFIG:Debug>>: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
Expand Down

0 comments on commit 0ac9dbc

Please sign in to comment.