Skip to content

Commit

Permalink
Add _SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING to the default comp…
Browse files Browse the repository at this point in the history
…iler flags to suppress the stdext::checked_array_iterator deprecation warnings at this moment

    * ACE/bin/MakeProjectCreator/config/vc_warnings.mpb:
  • Loading branch information
jwillemsen committed Apr 24, 2024
1 parent 268b116 commit 9abf05c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ACE/bin/MakeProjectCreator/config/vc_warnings.mpb
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,17 @@ feature(vc_avoid_winsock_warnings) {
}
}

feature(vc_avoid_stdext_arr_iters_warning) {
specific(prop:microsoft) {
macros += _SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING
}
verbatim(cmake, macros, 1) {
if(MSVC)
" add_compile_definitions(_SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING)"
endif()
}
}

feature(vc_avoid_hides_local_declaration) {
specific(vc14) {
DisableSpecificWarnings += 4456
Expand Down

0 comments on commit 9abf05c

Please sign in to comment.