-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 is deprecating stdext::checked_array_iterator
#3540
Comments
Removed all uses of |
3 tasks
MikeLankamp
added a commit
to KhepriEngine/KhepriEngine
that referenced
this issue
Jul 7, 2024
fmt uses `stdext::checked_array_iterator`, which has been deprecated by MSVC 17.8. This produces a ton of compiler deprecation warnings. Update to a later fmt where this has been fixed. Also see fmtlib/fmt#3540
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
format.h
uses MSVC'sstdext::checked_array_iterator
:fmt/include/fmt/format.h
Lines 563 to 565 in 661b23e
After microsoft/STL#3818 ships in VS 2022 17.8 Preview 2, this will emit deprecation warnings (in C++17 mode and later). We want to discourage use of this non-Standard extension, towards eliminating it in a future version.
MSVC's STL eliminated the incredibly annoying "copying to a raw pointer" warnings many versions ago (it was VS 2017 15.8, I believe), so you should simply be able to drop this usage of
stdext::checked_array_iterator
and use portable code for all platforms.The text was updated successfully, but these errors were encountered: