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
json-c compile in window xp #245
Comments
If you're asking whether itks possible to build json-c, I have no idea. You'll likely need to make some adjustments, and if they're minimal enough I might accept them as pull requests. I suspect this will largely depend on how you're trying to build (Visual Studio, cygwin gcc, mingw?). |
It certainly used to be possible to compile on Windows: https://ci.appveyor.com/project/Nzbuu/json-c/build/master.27 However, it now looks like this is broken. https://ci.appveyor.com/project/Nzbuu/json-c/build/master.29 For reference, the error message is:
|
Seems to be c++ stupidity not allowing void. Do you know how to get that to build there as a C program? |
This is an issue for both Win32 and x64 platforms. I tried limiting scope to Win32 but the problem still occurs. I tried building from the command-line: |
It compiles if you change to |
It seems you're getting the "error" because you're compiling it as a c++ program, not a c one. |
windows compile error is fixed in pull request #277 |
Hi, Just want to know if json-c lib can support compilation in window xp?
The text was updated successfully, but these errors were encountered: