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

GCC/llvm: Enable a lot more warnings, error on missing return value #19580

Merged
merged 2 commits into from
Nov 4, 2024

Conversation

hrydgard
Copy link
Owner

@hrydgard hrydgard commented Nov 4, 2024

Should prevent #19579 from ever happening again, hopefully.

This is the key, and everyone should always enable it: -Werror=return-type

@hrydgard hrydgard added the Code Cleanup Cleanup to make future work easier. Needs to be done sometimes. label Nov 4, 2024
@hrydgard hrydgard added this to the v1.18.1 milestone Nov 4, 2024
@hrydgard hrydgard merged commit 6bbb0bc into master Nov 4, 2024
19 checks passed
@hrydgard hrydgard deleted the error-on-missing-return branch November 4, 2024 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Cleanup Cleanup to make future work easier. Needs to be done sometimes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant