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

Allow some warnings when building libgcc #36

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

Blackhex
Copy link
Member

@Blackhex Blackhex commented Oct 21, 2024

Recent GCC commit 71c7b44 added -Werror when building libgcc. This PR allows some warnings to pass the build. I suppose most of them will be fixed upstream soon except of Windows-on-ARM-Experiments/mingw-woarm64-build#216.

Tested by https://github.com/Windows-on-ARM-Experiments/mingw-woarm64-build/actions/runs/11446540006

Copy link
Member

@vejbomar vejbomar left a comment

Choose a reason for hiding this comment

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

Thanks for the fix!

My only concern is that we'll never remove -Wno-error=unused-parameter -Wno-error=missing-prototypes -Wno-error=unused-function even if upstream will fix them. Imo creating a mechanism that will remind us e.g. by failing pipeline if these are not needed anymore is too complicated for a little benefit. What about at least creating an issue for that?

@Blackhex Blackhex force-pushed the rebase-upstream branch 8 times, most recently from 7033fb0 to 645fe76 Compare October 30, 2024 05:20
@Blackhex Blackhex force-pushed the rebase-upstream branch 2 times, most recently from be82394 to 90ef413 Compare November 1, 2024 05:20
@Blackhex Blackhex force-pushed the libgcc-allow-warnings branch from a1ad6dc to f26aa22 Compare November 1, 2024 09:19
@Blackhex Blackhex force-pushed the rebase-upstream branch 3 times, most recently from a83b9a4 to cbc273b Compare November 4, 2024 05:22
@Blackhex Blackhex force-pushed the libgcc-allow-warnings branch from f26aa22 to 45afdd2 Compare November 4, 2024 12:39
@Blackhex Blackhex merged commit 1d5a3fa into rebase-upstream Nov 4, 2024
1 check passed
@Blackhex Blackhex deleted the libgcc-allow-warnings branch November 4, 2024 13:47
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.

3 participants