-
-
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
Building fails using single include file: json.hpp #1308
Comments
Did you try disabling this error around the include? |
I wish I could do that, if I knew how |
Can you compile and run the test suite? |
I'm thinking I'm not using the right C++ compiler version. C++11 should do it... |
So is the issue solved? |
no I gave up. For me it was a temporary thing anyways to parse data incoming data in C++. Will accomplish this in JavaScript |
Hello!
But only if I use the version HEAD at f102df3 (no errors if I use the tag v3.3.0). I'm in a bit of a strange place because I'm cross-compiling with QNX. I compile for two target, the first is my native Linux machine that is used for some unit tests (g++ v6.3) and the second is my QNX target. The Linux compilation do not show the errors stated beforehand.
I will stick with the version 3.3.0 for now. |
I just downloaded json.hpp and placed it directly in my source folder.
I then include it in my .cc file:
and I define a static method:
But when I build, I get these errors directly coming from line where I include the json.hpp:
The text was updated successfully, but these errors were encountered: