-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MSVC new version, warning MSVC(C4996). #2987
Comments
|
fmt has solved the issue six month ago: |
Use newest fmt version to fix this. |
Is there a plan to update the bundled fmtlib to fix this issue? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am statically linking
spdlog
to my project. After updating MSVC (14.38.33130) , I get a warning when I include:Warning only occurs when building in debug.
Warning:
'stdext::checked_array_iterator<T*>': warning STL4043: stdext::checked_array_iterator, stdext::unchecked_array_iterator, and related factory functions are non-Standard extensions and will be removed in the future. std::span (since C++20) and gsl::span can be used instead. You can define _SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING or _SILENCE_ALL_MS_EXT_DEPRECATION_WARNINGS to suppress this warning. MSVC(C4996)
Warning is in
format.h
:The text was updated successfully, but these errors were encountered: