-
Notifications
You must be signed in to change notification settings - Fork 17
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
nrf51-sdk generates warnings for old style declarations #10
Comments
@jrobeson This is a known issue. This style error is inherited from the Nordic sdk which uses different build system. This warning should not affect build, but it is annoying. We try to make as few changes to the original sdk files as possible, but you can try putting We are working on reducing the number of warnings to make the build process more pleasant. |
closing it for now. please re-open if you need further clarification |
I didn't know you folks were accepting those kinds of changes to the sdk files. I'll certainly submit that as a PR , if it is acceptable. |
@jrobeson Contributor agreementFor your pull request to be accepted, we will need you to agree to our contributor agreement to give us the necessary rights to use and distribute your contributions. (To click through the agreement create an account on mbed.com and log in.) Please accept the agreement and let me know your mbed.com account name so I can verify. Thanks! |
I already signed it (as per my commits to mbed/mbed) . same as my github id: jrobeson |
I'll take a look at this again once the update to sdk 10 is merged. |
yotta_modules/nrf51-sdk/source/nordic_sdk/components/drivers_nrf/hal/nrf_delay.h:84:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void __INLINE nrf_delay_us(uint32_t volatile number_of_us)
I tried adding that to
yotta_modules/nrf51-sdk/source/supress-warnings.cmake
but then it told meI didn't see a way to
COMPILE_FLAGS
for just C++.The text was updated successfully, but these errors were encountered: