-
Notifications
You must be signed in to change notification settings - Fork 360
Fix: silence backward switch default warning #3203
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
Fix: silence backward switch default warning #3203
Conversation
|
Im wondering if theres some way to tell jenkins to skip gcc warning checks on this directory, since we vendor this from an upstream repository. If you think thats not possible, Im open to approving these changes. |
test/CMakeLists.txt
Outdated
| add_subdirectory(plugins) | ||
| add_subdirectory(regression) | ||
| add_subdirectory(worlds) | ||
| add_subdirectory(worlds) |
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.
Knit: Unrelated change. Please revert.
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.
Ready, I reverted that fake change. I don't know what happened there 🫤
|
I wonder if we can use I'd rather avoid making changes to the vendored package if at all possible so that we can easily update it later on from upstream. |
|
I'm trying to find the reason, because using |
|
Ready, gz_sim-ci-pr_any-jammy-amd64 test failing isn't related to this, it is related to another issue I oppened. This is what you meant? |
Signed-off-by: miguelgonrod <[email protected]>
Signed-off-by: miguelgonrod <[email protected]>
Signed-off-by: miguelgonrod <[email protected]>
Signed-off-by: miguelgonrod <[email protected]>
Signed-off-by: miguelgonrod <[email protected]>
Signed-off-by: miguelgonrod <[email protected]>
Signed-off-by: miguelgonrod <[email protected]>
Signed-off-by: miguelgonrod <[email protected]>
Signed-off-by: miguelgonrod <[email protected]>
Signed-off-by: miguelgonrod <[email protected]>
0823896 to
a3d5d01
Compare
|
@scpeters to take a look at hanging homebrew arm64 job. |
it's not easy to see now, but the |
|
https://github.com/Mergifyio backport gz-sim9 |
❌ Command disallowed due to command restrictions in the Mergify configuration.
|
|
https://github.com/Mergifyio backport gz-sim9 |
✅ Backports have been created
|
Signed-off-by: miguelgonrod <[email protected]> (cherry picked from commit 5318644) # Conflicts: # test/backward_vendor/backward-cpp/CMakeLists.txt
Signed-off-by: miguelgonrod <[email protected]> (cherry picked from commit 5318644)
(cherry picked from commit 5318644) Signed-off-by: miguelgonrod <[email protected]> Co-authored-by: Miguel Angel Gonzalez Rodriguez <[email protected]>
🦟 Bug fix
Fixes #3202
Summary
As the switch are using
dwarf_tagsto handle the case, I think it could dissable the compilation-Wno-switch-defaultas it was already evaluating the cases, so no need of a deefault clauseTo replicate this behaviour follow this steps:
Checklist
codecheckpassed (See contributing)