Closed LordWolfenstein closed 1 year ago
I've got the minimal example working in both VS2019 and VS2022. Since it's a warning, are you able to run the program?
I'm new to using this library but am implementing it in a console app through VS2019 with success. However, instead of using the NuGet package I cloned the repo and copied the json.hpp
from the json/single_include/nlohmann
directory into my project.
EDIT: I should also specify this was one on a Windows 10 machine.
This is only a warning for me to. I have been able to execute without problems so far.
This was fixed in December. https://github.com/nlohmann/json/pull/3889
Description
I have installed version 3.11.2 with the nuget packet manager in Visual Studio 2022 Community edition. When I compile I get this error in json.hpp.
Reproduction steps
Create new C++ console application in Visual Studio and install it with nuget. Include json.hpp in your main file and use it somehow. Have the json.hpp file open in the editor. Compile.
Expected vs. actual results
I expect no no warning but I get warnings.
Minimal code example
Error messages
Compiler and operating system
Windows 10 and Visual Studio Community 2022 Version 17.6.5 VisualStudio.17.Release/17.6.5+33829.357
Library version
3.11.2
Validation
develop
branch is used.