-
-
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
Compile error on Intel compiler running in Windows #2346
Comments
Thanks for reporting! I will create a branch with the new Hedley version to see whether the issue is fixed then. |
I did a quick hack by forcing
The problem stems from doing a json/test/src/unit-convenience.cpp Lines 32 to 35 in b888afe
Unfortunately I don't see any quick fix to this issue. Some ideas:
|
This is a an issue that keeps coming up. Maybe using a macro for certain instances of private is a good idea. I’ll check. |
I created PR #2352 for the private/public issue. |
@ongjunjie I merged #2352. Could you please try if the tests compile now? |
Unit tests compiles. Passes all tests only if I pass extra flag |
Very good! I'll wait for the Hedley release. I will also add a note to the README on the |
Failing tests when compiled without
|
hello ,I can not complier with platform Visual Studio 2017 (v141) ,but Visual Studio 2015 (v140) works well. |
Ok. Hedley 14 is now released (see #2367). |
Build and tests passing with latest develop branch. Possible to close this issue. |
I added a note to the README on flag |
Unable to compile using Intel compiler in Windows. This is caused by a bug in Hedley nemequ/hedley#39. Opening an issue here to track it.
What is the issue you have?
Can't compile. See Hedley issue for details.
Please describe the steps to reproduce the issue.
Can you provide a small but working code example?
No.
What is the expected behavior?
Unit tests compiles.
And what is the actual behavior instead?
Build fails.
Which compiler and operating system are you using?
Which version of the library did you use?
develop
branchIf you experience a compilation error: can you compile and run the unit tests?
The text was updated successfully, but these errors were encountered: