Skip to content

Make a few trivial syntactic changes to better support cross-compilation #9681

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

Merged
merged 2 commits into from
Feb 13, 2019

Conversation

NeilMacMullen
Copy link
Contributor

@NeilMacMullen NeilMacMullen commented Feb 12, 2019

Description

It's much easier to debug the cellular stack when cross-compiled to desktop. This PR cleans up a couple of warnings/errors under Visual C++ to simplify cross-compilation.

Pull request type

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

Reviewers

@ciarmcom ciarmcom requested review from a team February 12, 2019 16:01
@ciarmcom
Copy link
Member

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

@ciarmcom
Copy link
Member

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

@cmonr
Copy link
Contributor

cmonr commented Feb 12, 2019

CI started whist final review comes in.

Betting on reviewer being OK with changes

@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

@@ -990,7 +990,7 @@ void AT_CellularSMS::add_info(sms_info_t *info, int index, int part_number)
return;
}
sms_info_t *current = _sms_info;
sms_info_t *prev;
sms_info_t *prev=NULL;
Copy link
Contributor

Choose a reason for hiding this comment

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

This may fail on astyle check.

sms_info_t *prev = NULL:

will pass.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks - already fixed on second commit

@cmonr cmonr merged commit e34ecae into ARMmbed:master Feb 13, 2019
@NeilMacMullen NeilMacMullen deleted the cross-compilation branch February 14, 2019 13:35
@cmonr
Copy link
Contributor

cmonr commented Feb 21, 2019

Patch application did not like this attempting to be applied onto mbed-os-5.11.

It could be that this is sitting on top of the cellular refactor. Retargeting for 5.12.

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.

7 participants