- Notifications
You must be signed in to change notification settings - Fork7.8k
Add errors on invalid/missing function return#5321
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
me-no-dev commentedJun 24, 2021
best to ask platformio guys :)@ivankravets@valeros |
valeros commentedJun 24, 2021
Hi@dok-net, simply add it to |
dok-net commentedJun 24, 2021
@valeros, that's funny, because in#5310@me-no-dev opined about patches to
and
But I don't know anything about that. With definitive guidance I would love to go ahead. |
me-no-dev commentedJun 25, 2021
@valeros flags are generated by thelib builder and as I explained to@dok-net , changes need to be done in the lib builder for them to work in arduino |
valeros commentedJun 25, 2021
TBH I'm not sure how we can help then,@dok-net please add that flag directly to thelib builder. |
igrr left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
This is not required until we update to GCC 10.x, is that correct?
dok-net commentedJul 17, 2021
@igrr No, that's not a correct conclusion. There is only a warning with the current compiler in master: But the generated code is undefined and crashes: |
dok-net commentedJul 17, 2021
No matter what, this PR doesn't fix the underlying issue, the chance alone is not relevant to the build process as it stands. |
Adaptation ofesp8266/Arduino#8165 for the ESP32.
@me-no-dev Please inform me of how to handle the Platformio related files properly.