-
Notifications
You must be signed in to change notification settings - Fork 3k
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
BlockDevices: specify mbed namespace where needed #14031
Conversation
@facchinm, thank you for your changes. |
#13568 is also addressing namespace issues and there is some overlap. |
@evedon sorry, missed that one 🙂 Happy to rebase as soon as it gets merged (or merge them together) |
This PR cannot be merged due to conflicts. Please rebase to resolve them. |
As it is not proceeding. I requested confirmation if it goes ahead or we shall make this PR to include both and fix it altogether? |
@0xc0170 I'm merging the two patches and force pushing here |
6a7c410
to
4595bff
Compare
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.
One question: TaskBase is in the events namespace. Should also PolledQueue to be or TaskBase should be changed?
Otherwise LGTM
Ah, good question... I just really rebased both the patches and applied the one from #13568 as-is. |
I can confirm that this patch is enough to include PolledQueue without any other action needed.
This compiles with this branch while breaks on |
This pull request has automatically been marked as stale because it has had no recent activity. @ARMmbed/mbed-os-core, please complete review of the changes to move the PR forward. Thank you for your contributions. |
I am now going through stale issues, this one I've missed as well.
Yes, we should test |
Started CI to get early results. |
Jenkins CI Test : ❌ FAILEDBuild Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
This pull request has automatically been marked as stale because it has had no recent activity. @facchinm, please carry out any necessary work to get the changes merged. Thank you for your contributions. |
I think CI failure is totally unrelated with the commit (it breaks on DISCO_L475VG_IOT01A while compiling NFC_EEPROM example, the error is |
It should be fixed by #14092 (merged a moment ago), CI needs a rerun. |
@0xc0170 we are trying to find out the best way to test this issue. As this is not a runtime error adding a greentea test may not be the best option. Do you think is worth to add this build check into CI? Verifying that all tests builds correctly with MBED_NO_GLOBAL_USING_DIRECTIVE active should give us the best coverage. |
added namespaces in various files
4595bff
to
6b0215c
Compare
rebased to rerun CI |
Ci started |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 2 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
Summary of changes
Including any of these headers outside
mbed
namespace (or withMBED_NO_GLOBAL_USING_DIRECTIVE
macro) would trigger compilation errors.Since most of them were already ported to the full
mbed::
specifier, apply this to all missing arguments.Please not that this in not needed by other blockdevices since they are already under
mbed
namespace.Impact of changes
Migration actions required
Documentation
Pull request type
Test results
Reviewers