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

build: enable -Werror flag when building the core #2647

Merged
merged 1 commit into from
Sep 6, 2023

Conversation

link2xt
Copy link
Contributor

@link2xt link2xt commented Sep 5, 2023

If this flag was enabled, CI would have caught
incorrect core in 1.40.0 release tag
that caused crashing at start F-Droid 1.40.0 release.

@link2xt
Copy link
Contributor Author

link2xt commented Sep 5, 2023

It is generally considered a bad style to use -Werror for releases because the compiler may be different, but in this case we are using always the same compiler from the NDK.

@link2xt link2xt requested a review from r10s September 5, 2023 02:16
@github-actions
Copy link

github-actions bot commented Sep 5, 2023

To test the changes in this pull request, install this apk:
📦 app-preview.apk

If this flag was enabled, CI would have caught
incorrect core in 1.40.0 release tag
that caused crashing at start F-Droid 1.40.0 release.
@github-actions
Copy link

github-actions bot commented Sep 5, 2023

To test the changes in this pull request, install this apk:
📦 app-preview.apk

Copy link
Member

@r10s r10s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@link2xt link2xt merged commit 9e050bb into stable Sep 6, 2023
2 checks passed
@link2xt link2xt deleted the link2xt/jni-werror branch September 6, 2023 16:55
@r10s r10s mentioned this pull request Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants