Skip to content
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

Fix jsoncpp Werror with NDK r22b #1394

Merged
merged 1 commit into from
Apr 8, 2021
Merged

Conversation

JonasVautherin
Copy link
Collaborator

@JonasVautherin JonasVautherin commented Apr 2, 2021

JsonCpp fails to build on Android with NDK r22b. This is not a problem for the CI yet, but it will come soon (the CI is on r21). This fixes it.

I am also looking into updating JsonCpp (see here), which may allow us to remove all the patches. But that may take longer, so I fixed this issue first.

@julianoes
Copy link
Collaborator

julianoes commented Apr 5, 2021

We could also just make sure we don't try to build with -Werror for everything downstream, right? Because these warnings will keep coming up for other compilers and compiler versions.

@JonasVautherin
Copy link
Collaborator Author

Yeah... but I don't think we set it for downstream at all, so that is something to do for each dependency separately. In this case, it seemed to me that the default for jsoncpp was without werror, but for some reason it was failing here for Android. I did not look further into it because I think we should update to jsoncpp 1.9.4 as soon as possible, so this PR was just to not fail in the meantime.

@JonasVautherin JonasVautherin merged commit ebb69db into main Apr 8, 2021
@JonasVautherin JonasVautherin deleted the fix-jsoncpp-android-ndk22 branch April 8, 2021 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants