Skip to content

Fix -Wold-style-definion errors in the raspberrypi port #10372

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
May 25, 2025

Conversation

jepler
Copy link

@jepler jepler commented May 24, 2025

This mostly means changing void foo() to void foo(void) at the function definition site. This was previously only an error if the declaration site didn't have (void), but the unix coverage build enables the more strict warning and there's little difficulty in resolving these diagnostics.

.. other ports can be done too, if desired.

@jepler jepler force-pushed the old-style-definition branch from 971cbaf to 88b1087 Compare May 25, 2025 05:53
This mostly means changing `void foo()` to `void foo(void)` at
the function definition site. This was previously only an error
if the declaration site didn't have `(void)`, but the unix
coverage build enables the more strict warning and there's little
difficulty in resolving these diagnostics.

.. other ports can be done too, if desired.
@jepler jepler force-pushed the old-style-definition branch from 88b1087 to 953694d Compare May 25, 2025 07:16
@jepler jepler changed the title Fix -Wold-style-definion errors in the raspberypi port Fix -Wold-style-definion errors in the raspberrypi port May 25, 2025
Copy link
Collaborator

@eightycc eightycc left a comment

Choose a reason for hiding this comment

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

Perfect. Thank you!

@eightycc eightycc merged commit 17bb1eb into adafruit:main May 25, 2025
616 checks passed
@jepler
Copy link
Author

jepler commented May 25, 2025

thanks!

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