Skip to content

Commit

Permalink
Silence MSVC stdext::checked_array_iterator deprecation warnings for now
Browse files Browse the repository at this point in the history
  • Loading branch information
YannickJadoul committed Aug 7, 2024
1 parent dc4f492 commit 5bbb97a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ if (MSVC)
if (MSVC_VERSION GREATER_EQUAL 1920)
add_compile_options(/d2FH4-) # Because we don't want to link against VCRUNTIME140_1.dll (see https://cibuildwheel.readthedocs.io/en/stable/faq/#importerror-dll-load-failed-the-specific-module-could-not-be-found-error-on-windows)
endif ()
add_compile_options(/_SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING) # TODO 0.5: Update libfmt, so we don't need to silence this anymore? And what about C++20?
endif ()

if (PREBUILT_DEPENDENCIES)
Expand Down

0 comments on commit 5bbb97a

Please sign in to comment.