-
-
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
[-Wdeprecated-declarations] in row j >> ss;
in file json.hpp:7405:26
and FAILED unit tests with MinGWx64!
#616
Comments
j >> ss;
in file json.hpp:7405:26
j >> ss;
in file json.hpp:7405:26
and FAILED unit tests with MinGWx64!
The deprecation warnings make sense: the mentioned function is marked as deprecated for the 3.0.x family. The warning can be ignored in the test code, but should be taken seriously in production code that actually uses this function as it will be removed from the library in 3.1.x or later. The error messages seem odd - as if the test executable did not find the test files. Did you run the tests as described in the README? |
I have simply run executable
|
This is strange. But the error messages indicate the test files could not be opened. Could you please try the other method:
|
Upd. Seems to folder New results
|
I am currently on fd4a0ec. Please look at the first message. |
Strange. So the errors are of two classes:
|
I cannot check this myself as I have no machine running Windows. |
Ok. I shall check that as shall have time. And MinGW also runs on Linux. |
I know I can compile MinGW binaries. Can I also execute them? |
Yes. |
Can you provide more information? |
What information? About system? Yes. |
I meant how to run MinGW binaries on a Linux machine. Currently, I cannot work on this issue. |
I think there is no way to run MinGW binaries under Linux. May be Wine will help. May be this will be useful How to use MinGW to cross compile software for Windows from Linux. |
I can generate MinGW binaries with macOS, but wine cannot execute them. Therefore, I cannot run the test suite. |
Please post your binaries. I will run tests. |
I will by the end of the week. |
i686-w64-mingw32-g++ (GCC) 7.1.0.zip Here are the |
@SledgeH Did you have the chance to check if the binaries work? |
Any news? |
x64
|
PS. Sorry for so long respond. |
Thanks for reporting back. You need to run |
Did you have the opportunity to rerun the tests in the directory above the test folder? |
I ran the tests myself. What I did:
I got 9 failing assertions (out of the 1.4 million tests):
I can live with these issues for now as they seem not to be blockers for MinGW. |
Hi. My compiler MinGWx64 said [-Wdeprecated-declarations]
Branch: develop
Commit: fd4a0ec
Info about commit:
About compiler:
Compiler output
Run
json_unit.exe
I did not found in CONTRIBUTING.md that I should not post such a problems. I believe this report will be useful.
The text was updated successfully, but these errors were encountered: