-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Possible incorrect _MSC_VER reference #2112
Comments
This comparison was introduced in #1028 and last changed in #1496. In #1028 (comment), I think the reason is described why it should be
|
Maybe I'm wrong, but std::string_view is only available from C++17. For example, Visual Studio 2015 has _MSC_VER=1900, so this #if becomes true and I got an error on unknown string_view. |
Good point. I'm not using MSVC myself, but I may be able to check via AppVeyor. |
Doesn't the check for |
As I can see, the check for |
Thanks everyone for the discussion! |
json/single_include/nlohmann/json.hpp
Line 17470 in e7b3b40
This condition seems to check "Visual Studio 2017 or later", so there should be >= 1914, not <=
The text was updated successfully, but these errors were encountered: