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

[BUG] Use of std::allocate::destroy is depreciated. #69

Open
inversederivative opened this issue Jul 15, 2022 · 0 comments
Open

[BUG] Use of std::allocate::destroy is depreciated. #69

inversederivative opened this issue Jul 15, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@inversederivative
Copy link

Describe the bug
As I've tried to build this project in Rider, Visual Studio 2022, and Visual Studio 2019, I was ultimately unable to compile, even if I selected C++ 11, not sure why, but the point is, the JSON file includes depreciated code, and should therefore be maintained. I'm working on a solution, as I've forked, and I'd like to be using the newest version of nlohmann's json package anyway.

This project features version 2.0.5, however nlohmann is already up to version 3.10.5. His new version addresses this depreciated bug, and so it shouldn't be too difficult to incorporate.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'src\ZoneUtils\Json.hpp'
  2. Browse to line (for example) 2168 'alloc.destroy(m_value.object);'

Expected behavior
The project should build with modern tools.

Screenshots
image

General information:

  • OS: Windows 11
  • Version: 10.0.22000 Build 22000
  • Linker: (ALL)

Additional context
I'd also like to participate in the discord, but the links are all dead... Any help?

@inversederivative inversederivative added the bug Something isn't working label Jul 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants