Skip to content

[compiler-rt] [profile] Add missing (void) to prototypes, for C sources #110642

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

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

mstorsjo
Copy link
Member

@mstorsjo mstorsjo commented Oct 1, 2024

If built as part of the main llvm build, via
ENABLE_LLVM_PROJECTS=compiler-rt, the code gets built with more warning options than if built standalone. Some of these trigger warnings like:

warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]

If built as part of the main llvm build, via
ENABLE_LLVM_PROJECTS=compiler-rt, the code gets built with more
warning options than if built standalone. Some of these trigger
warnings like:

    warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
@mstorsjo mstorsjo requested a review from vitalybuka October 1, 2024 09:23
@mstorsjo mstorsjo merged commit fb2960a into llvm:main Oct 9, 2024
8 checks passed
@mstorsjo mstorsjo deleted the profile-warnings branch October 9, 2024 06:30
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