-
-
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
illegal indirection #548
Comments
What release/commit are you using? |
version 2.1.1 |
That's very strange. This is line 1136 in that release:
What is line 1136 in your |
Could you remove all headers but |
I've downloader version 2.0.5 and it works. :) |
That's strange. Which version of MSVC is this? |
|
As of version 2.1.0, you can convert any type from/to JSON, see https://github.com/nlohmann/json#arbitrary-types-conversions. MSVC 2015 is supported, and we use it with AppVeyor, see https://github.com/nlohmann/json#supported-compilers. |
Ok, i'll post the piece of code where this error occurs tonight and chceck AppVeyor as well:) |
Any news here? |
Hmm I'm having the same issue (latest version, got it directly from the file in the repo). Seems to be happening in this line |
Also seems to happen on version 2.1.0, but no issues on version 2.0.10 Will try g++ with the 3 versions and see if there is any issue, reporting soon! 2.0.10 : No issues on g++. No issues on Visual Studio I don't have Visual Studio 2017 so won't be able to test with it |
Could you please tell me the exact versions of your MSVC. The library is known to work with the following versions:
These exact versions are used by AppVeyor where the test suite can be compiled and executed without errors. |
EDIT: Nevermind that's is not the version my bad... How can i get the version? |
In Visual Studio, the Tab 'Help'-> 'About Microsoft Visual Studio' should give you the desired infos. (from http://stackoverflow.com/a/5089489/266378). |
Any news on this? |
Indeed that's older than what you use, I suppose they had no full support for contextpr? |
Right. Sorry, but we can't do anything about that. |
I'm getting this error in MSVC2017, same line - 1136, so definitely newer than MSVC2015. Not sure if it should be closed? |
Hi @cfogelklou, what is the exact version you are using? We are using Microsoft (R) Build Engine version 15.1.548.43366 with AppVeyor, see https://ci.appveyor.com/project/nlohmann/json/build/1932 for the latest build which succeeds on MSVC 2017 as well. |
I also get this with VS2015 |
I think this version is not supported. The code is known to run with Microsoft Visual C++ 2015 / Build Tools 14.0.25123.0 (and possibly later), see https://github.com/nlohmann/json#supported-compilers. |
so i get this error :/
The text was updated successfully, but these errors were encountered: