Skip to content

Conversation

hathach
Copy link
Member

@hathach hathach commented Jan 6, 2022

Fix dangerous issue where the function declared with return value does not return at all. Which could cause mis-matched issue on the execution stack. Force this as an error for all compiler warning option. See also https://forums.adafruit.com/viewtopic.php?f=62&t=186839

@hathach hathach merged commit 9785217 into master Jan 6, 2022
@hathach hathach deleted the add-Werror=return-type branch January 6, 2022 19:19
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