-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
Illegal indirection #467
Comments
This is strange, because the project compiles with AppVeyor without problems:
What is the exact error message? What compilation flags are you using? |
I just updated my VS2015 and its working fine. |
I have this issue too. Using 2.1.1. Microsoft Visual Studio Community 2015 All I have done is added #include "json.hpp" to my source file. c:\path\to\json.hpp(887): error C2100: illegal indirection Compilation flags generated by CMake: |
@glennra The tests at AppVeyor work with MSVC 14.0.25420.1 (see https://ci.appveyor.com/project/nlohmann/json for detailed output). I'm not sure about the differences to the version you are using, but @brunohkbx seems to have fixed the issue by updating. |
Thanks. It works with: VS usually automatically offers updates but in this case it had not done that so I had to manually download and run the updater. |
I can confirm this, by updating from Update 1 to Update 3 everything works fine. |
Thanks for reporting! |
I'm trying to use it in VS2015 but when I try to compile I got this error.
C2100 Illegal indirection
The text was updated successfully, but these errors were encountered: