-
Notifications
You must be signed in to change notification settings - Fork 3k
nanostack: icmpv6: fix build warning #9694
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
Conversation
@naveenkaje, thank you for your changes. |
@naveenkaje, thank you for your changes. |
CI started while waiting on Mesh Team. Not too conmfortable simply ignoring a warning, but if only GCC is complainging, it can't be that bad? |
Test run: FAILEDSummary: 2 of 8 test jobs failed Failed test jobs:
|
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.
100644 → 100755
Fix file attributes.
attribute ((fallthrough));
Failing few builds, is this available in all our toolchains?
9bd2541
to
a16a4b8
Compare
Fix the following build warning seen when building with GCC Compile [ 54.2%]: icmpv6.c [Warning] icmpv6.c@1091,16: this statement may fall through [-Wimplicit-fallthrough=]
a16a4b8
to
8d0c94e
Compare
I see
With ARMCC. Perhaps it is only for GCC. https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html indicates that this is standardized now. I changed my patch and tested with ARMCC and GCC. I see no warnings locally. Lets see if this is ok for all supported toolchains in our CI. |
CI started |
Test run: SUCCESSSummary: 12 of 12 test jobs passed |
Description
Fix the following build warning seen when building with GCC
Pull request type