[23110] Address some compilation warnings with GCC latest (backport #5796)
Description
This PR addresses issues #5790 and #5792
@Mergifyio backport 3.1.x 2.14.x 2.10.x
Contributor Checklist
-
[X] Commit messages follow the project guidelines.
-
[X] The code follows the style guidelines of this project.
-
N/A Tests that thoroughly check the new feature have been added/Regression tests checking the bug and its fix have been added; the added tests pass locally
-
N/A Any new/modified methods have been properly documented using Doxygen.
-
N/A Any new configuration API has an equivalent XML API (with the corresponding XSD extension)
-
[X] Changes are backport compatible: they do NOT break ABI nor change library core behavior.
-
[X] Changes are API compatible.
-
N/A New feature has been added to the
versions.mdfile (if applicable). -
N/A New feature has been documented/Current behavior is correctly described in the documentation.
-
[X] Applicable backports have been included in the description.
Reviewer Checklist
- [x] The PR has a milestone assigned.
- [x] The title and description correctly express the PR's purpose.
- [x] Check contributor checklist is correct.
- N/A If this is a critical bug fix, backports to the critical-only supported branches have been requested.
- [x] Check CI results: changes do not issue any warning.
- [x] Check CI results: failing tests are unrelated with the changes.
This is an automatic backport of pull request #5796 done by [Mergify](https://mergify.com).
Cherry-pick of e1524ac973b759d4756bbe13df80a34344eb3d29 has failed:
On branch mergify/bp/2.14.x/pr-5796
Your branch is up to date with 'origin/2.14.x'.
You are currently cherry-picking commit e1524ac9.
(fix conflicts and run "git cherry-pick --continue")
(use "git cherry-pick --skip" to skip this patch)
(use "git cherry-pick --abort" to cancel the cherry-pick operation)
Changes to be committed:
modified: src/cpp/fastdds/topic/DDSSQLFilter/DDSFilterCompoundCondition.hpp
modified: src/cpp/fastdds/topic/DDSSQLFilter/DDSFilterPredicate.hpp
Unmerged paths:
(use "git add/rm <file>..." as appropriate to mark resolution)
both modified: src/cpp/fastdds/topic/DDSSQLFilter/DDSFilterValue.hpp
deleted by us: src/cpp/rtps/reader/BaseReader.cpp
To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally
@Mergifyio rebase 2.14.x
rebase 2.14.x