Skip to content

Conversation

naveenkaje
Copy link
Contributor

Description

Fix the following build warning seen with GCC

Compile [ 51.2%]: thread_bootstrap.c
[Warning] thread_extension.h@88,44: statement with no effect [-Wunused-value]

Pull request type

[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

@ciarmcom ciarmcom requested review from a team February 13, 2019 00:00
@ciarmcom
Copy link
Member

@naveenkaje, thank you for your changes.
@ARMmbed/mbed-os-mesh @ARMmbed/mbed-os-maintainers please review.

@ciarmcom
Copy link
Member

@naveenkaje, thank you for your changes.
@ARMmbed/mbed-os-mesh @ARMmbed/mbed-os-maintainers please review.

@cmonr
Copy link
Contributor

cmonr commented Feb 13, 2019

CI started

@cmonr
Copy link
Contributor

cmonr commented Feb 13, 2019

@naveenkaje The string of PRs that you created today (https://github.com/ARMmbed/mbed-os/pulls/naveenkaje), they all referenced warning present when building with GCC.

Do the warnings also go away with the ARM and IAR compilers?

@mbed-ci
Copy link

mbed-ci commented Feb 13, 2019

Test run: SUCCESS

Summary: 12 of 12 test jobs passed
Build number : 1
Build artifacts

@NirSonnenschein
Copy link
Contributor

@cmonr is another review required here?

Copy link
Contributor

@0xc0170 0xc0170 left a comment

Choose a reason for hiding this comment

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

100644 → 100755

File permission needs revert
Thanks for pointing it.
The fix looks fine, a question is about the line 90 - not triggering this warning also?

No, line 90 is not flagged.

Fix the following build warning seen with GCC

Compile [ 51.2%]: thread_bootstrap.c
[Warning] thread_extension.h@88,44: statement with no effect [-Wunused-value]
@naveenkaje naveenkaje force-pushed the thread_extn_warning_fix branch from 6852e24 to 1f015aa Compare February 13, 2019 16:49
@cmonr
Copy link
Contributor

cmonr commented Feb 13, 2019

@NirSonnenschein Not really since the change seems so minor.

@naveenkaje

Do the warnings also go away with the ARM and IAR compilers?

@cmonr
Copy link
Contributor

cmonr commented Feb 13, 2019

CI started

@cmonr cmonr dismissed 0xc0170’s stale review February 13, 2019 20:41

Attribute updated.

@mbed-ci
Copy link

mbed-ci commented Feb 14, 2019

Test run: SUCCESS

Summary: 12 of 12 test jobs passed
Build number : 2
Build artifacts

@cmonr cmonr merged commit b66678d into ARMmbed:master Feb 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants