Skip to content
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

supress warnings for the sources in nRF51 SDK #6

Merged
merged 2 commits into from
Dec 2, 2015
Merged

supress warnings for the sources in nRF51 SDK #6

merged 2 commits into from
Dec 2, 2015

Conversation

rgrover
Copy link
Contributor

@rgrover rgrover commented Dec 2, 2015

copying over the cmake magic to suppress warnings from ble-nrf51822.
@LiyouZhou @andresag01


if(CMAKE_C_COMPILER_ID STREQUAL "GNU")
set_target_properties(nrf51-sdk
PROPERTIES COMPILE_FLAGS "-Wno-sign-compare -Wno-unused-variable -Wno-unused-parameter -Wno-missing-field-initializers"

Choose a reason for hiding this comment

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

@rgrover I think we are missing -Wno-unused-function.

@rgrover
Copy link
Contributor Author

rgrover commented Dec 2, 2015

@LiyouZhou @andresag01

@rgrover
Copy link
Contributor Author

rgrover commented Dec 2, 2015

bump. Guys, are you happy with this?

@andresag01
Copy link

+1

@LiyouZhou
Copy link
Contributor

Yes, I'm happy with this.

LiyouZhou added a commit that referenced this pull request Dec 2, 2015
supress warnings for the sources in nRF51 SDK
@LiyouZhou LiyouZhou merged commit 72668df into ARMmbed:master Dec 2, 2015
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.

3 participants