Skip to content
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

🐛 stdext::checked_array_iterator is being deprecated #4811

Closed
3 tasks done
zach2good opened this issue Dec 4, 2023 Discussed in #4739 · 0 comments · Fixed by #4812
Closed
3 tasks done

🐛 stdext::checked_array_iterator is being deprecated #4811

zach2good opened this issue Dec 4, 2023 Discussed in #4739 · 0 comments · Fixed by #4812

Comments

@zach2good
Copy link
Contributor

zach2good commented Dec 4, 2023

I affirm:

  • I understand that if I do not agree to the following points by completing the checkboxes my issue will be ignored.
  • I have read and understood the Contributing Guide and the Code of Conduct.
  • I have searched existing issues to see if the issue has already been opened, and I have checked the commit log to see if the issue has been resolved since my server was last updated.

Discussed in #4739

<div type='discussions-op-text'>

<sup>Originally posted by **Stammer6** November 18, 2023</sup>
Hi, everyone! I'm quite new to all of this, so bear with me. I followed the instructions to the letter, having tried now on two different computers (Windows 10 & 11), and on one of them twice. All three attempts have resulted in this error in VisualStudio 2022 while attempting to build the project.

Error code C2220 ...\server\build\x64-Debug\_deps\spdlog-src\include\spdlog\fmt\bundled\format.h (line 341)

Line 341 is as follows:
`template <typename T> using checked_ptr = stdext::checked_array_iterator<T*>;`

I've looked up similar issues before making this discussion, and I've tried making slight alterations to the line in question as well as lines around it. I've also formatted it to UTF-8 with BOM to see if that would help. No dice. I'd be grateful for some pointers.

Thanks in advance!</div>

fmtlib/fmt#3540
https://github.com/gabime/spdlog/blob/v1.x/CMakeLists.txt#L206-L209

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant