Errors/Warnings in VS 2019 when Including Header File #1659
Closed
Description
-
Describe what you want to achieve.
I want my program to work but as soon as I included the header file it gave errors.
My include line:
#include "../nlohmann/json.hpp"
All of the warnings:
https://gyazo.com/682adfd4655aad5540471ea9ca55ee4e -
Describe what you tried.
I don't know what to try. -
Describe which system (OS, compiler) you are using.
Windows 10 Pro, Visual Studio 2019, C++17 -
Describe which version of the library you are using (release version, develop branch).
- I cloned the repository directly from the main page (which appears to be the develop branch because that's what I'm viewing now and I didn't change it?) then took the json.hpp file. When this file didn't work, I went to the releases page and tried the json.hpp from the latest release (as of 7/1/2019). This one also gave errors when I ran my code:
https://gyazo.com/116815c8c06ca6e737741aa960b3eb68