Skip to content

Conversation

@Mario-DL
Copy link
Contributor

@Mario-DL Mario-DL commented May 5, 2025

Description

This PR addresses issues #5790 and #5792

@Mergifyio backport 3.1.x 2.14.x 2.10.x

Contributor Checklist

  • Commit messages follow the project guidelines.
  • 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)
  • Changes are backport compatible: they do NOT break ABI nor change library core behavior.
  • Changes are API compatible.
  • N/A New feature has been added to the versions.md file (if applicable).
  • N/A New feature has been documented/Current behavior is correctly described in the documentation.
  • Applicable backports have been included in the description.

Reviewer Checklist

  • The PR has a milestone assigned.
  • The title and description correctly express the PR's purpose.
  • Check contributor checklist is correct.
  • N/A If this is a critical bug fix, backports to the critical-only supported branches have been requested.
  • Check CI results: changes do not issue any warning.
  • Check CI results: failing tests are unrelated with the changes.

@Mario-DL Mario-DL added this to the v3.2.3 milestone May 5, 2025
@Mario-DL
Copy link
Contributor Author

Mario-DL commented May 5, 2025

Backports to 2.x should drop the second commit regarding BaseReader

@Mario-DL Mario-DL requested review from richiprosima and removed request for richiprosima May 5, 2025 08:19
@github-actions github-actions bot added the ci-pending PR which CI is running label May 5, 2025
@cferreiragonz
Copy link
Contributor

@richiprosima check style pls

@cferreiragonz cferreiragonz requested a review from richiprosima May 8, 2025 07:08
Copy link
Contributor

@cferreiragonz cferreiragonz left a comment

Choose a reason for hiding this comment

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

LGTM with green CI. I have added two extra missing includes that I found when trying to compile with gcc 15.

@cferreiragonz cferreiragonz removed the request for review from richiprosima May 8, 2025 07:09
@Mario-DL
Copy link
Contributor Author

Mario-DL commented May 8, 2025

With that headers included the compilation succeeds. I observed an extra warning warning: ‘strlen’ reading 1 or more bytes from a region of size 0 but it is presumably due to Release optimizations. We will double check that in the follow up PR introducing the CI in alternative builds

@Mario-DL
Copy link
Contributor Author

Mario-DL commented May 8, 2025

CI for alternative builds with latest GCC here
(CI PR was rebased on top of this)

@cferreiragonz cferreiragonz added ready-to-merge Ready to be merged. CI and changes have been reviewed and approved. and removed ci-pending PR which CI is running labels May 9, 2025
@Mario-DL Mario-DL changed the title [23110] Address some compilation warnings [23110] Address some compilation warnings with GCC latest May 9, 2025
@MiguelCompany MiguelCompany merged commit e1524ac into master May 9, 2025
16 of 17 checks passed
@MiguelCompany MiguelCompany deleted the bugfix/23110 branch May 9, 2025 09:55
@Mario-DL
Copy link
Contributor Author

Mario-DL commented May 9, 2025

@Mergifyio backport 3.1.x 2.14.x 2.10.x

@mergify
Copy link
Contributor

mergify bot commented May 9, 2025

backport 3.1.x 2.14.x 2.10.x

✅ Backports have been created

Details

mergify bot pushed a commit that referenced this pull request May 9, 2025
* Refs #23110: Add cstdint header for uint8_t

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #23110: Remove unused using

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #23110: Add missing cstdint to more headers

Signed-off-by: cferreiragonz <[email protected]>

---------

Signed-off-by: Mario Dominguez <[email protected]>
Signed-off-by: cferreiragonz <[email protected]>
Co-authored-by: cferreiragonz <[email protected]>
(cherry picked from commit e1524ac)

# Conflicts:
#	src/cpp/fastdds/topic/DDSSQLFilter/DDSFilterValue.hpp
#	src/cpp/rtps/reader/BaseReader.cpp
mergify bot pushed a commit that referenced this pull request May 9, 2025
* Refs #23110: Add cstdint header for uint8_t

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #23110: Remove unused using

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #23110: Add missing cstdint to more headers

Signed-off-by: cferreiragonz <[email protected]>

---------

Signed-off-by: Mario Dominguez <[email protected]>
Signed-off-by: cferreiragonz <[email protected]>
Co-authored-by: cferreiragonz <[email protected]>
(cherry picked from commit e1524ac)

# Conflicts:
#	src/cpp/fastdds/topic/DDSSQLFilter/DDSFilterValue.hpp
#	src/cpp/rtps/reader/BaseReader.cpp
mergify bot pushed a commit that referenced this pull request May 9, 2025
* Refs #23110: Add cstdint header for uint8_t

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #23110: Remove unused using

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #23110: Add missing cstdint to more headers

Signed-off-by: cferreiragonz <[email protected]>

---------

Signed-off-by: Mario Dominguez <[email protected]>
Signed-off-by: cferreiragonz <[email protected]>
Co-authored-by: cferreiragonz <[email protected]>
(cherry picked from commit e1524ac)
vermaete added a commit to vermaete/meta-ros that referenced this pull request May 25, 2025
e.g.:

  /meta-ros/build/tmp/work/cortexa76-oe-linux/fastdds/3.2.2-1/git/src/cpp/fastdds/topic/DDSSQLFilter/DDSFilterValue.hpp:26:1: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
  |    25 | #include <regex>
  |   +++ |+#include <cstdint>
  |    26 |

See: eProsima/Fast-DDS#5796
See: eProsima/Fast-DDS@e1524ac

Signed-off-by: Jan Vermaete <[email protected]>
MiguelCompany pushed a commit that referenced this pull request May 30, 2025
* Refs #23110: Add cstdint header for uint8_t

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #23110: Remove unused using

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #23110: Add missing cstdint to more headers

Signed-off-by: cferreiragonz <[email protected]>

---------

Signed-off-by: Mario Dominguez <[email protected]>
Signed-off-by: cferreiragonz <[email protected]>
Co-authored-by: cferreiragonz <[email protected]>
MiguelCompany pushed a commit that referenced this pull request May 30, 2025
* Refs #23110: Add cstdint header for uint8_t



* Refs #23110: Remove unused using



* Refs #23110: Add missing cstdint to more headers



---------

Signed-off-by: Mario Dominguez <[email protected]>
Signed-off-by: cferreiragonz <[email protected]>
Co-authored-by: Mario Domínguez López <[email protected]>
Co-authored-by: cferreiragonz <[email protected]>
vermaete added a commit to vermaete/meta-ros that referenced this pull request Jun 7, 2025
e.g.:

  /meta-ros/build/tmp/work/cortexa76-oe-linux/fastdds/3.2.2-1/git/src/cpp/fastdds/topic/DDSSQLFilter/DDSFilterValue.hpp:26:1: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
  |    25 | #include <regex>
  |   +++ |+#include <cstdint>
  |    26 |

See: eProsima/Fast-DDS#5796
See: eProsima/Fast-DDS@e1524ac

Signed-off-by: Jan Vermaete <[email protected]>
vermaete added a commit to vermaete/meta-ros that referenced this pull request Jun 9, 2025
e.g.:

  /meta-ros/build/tmp/work/cortexa76-oe-linux/fastdds/3.2.2-1/git/src/cpp/fastdds/topic/DDSSQLFilter/DDSFilterValue.hpp:26:1: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
  |    25 | #include <regex>
  |   +++ |+#include <cstdint>
  |    26 |

See: eProsima/Fast-DDS#5796
See: eProsima/Fast-DDS@e1524ac

Signed-off-by: Jan Vermaete <[email protected]>
vermaete added a commit to vermaete/meta-ros that referenced this pull request Jun 22, 2025
e.g.:

  /meta-ros/build/tmp/work/cortexa76-oe-linux/fastdds/3.2.2-1/git/src/cpp/fastdds/topic/DDSSQLFilter/DDSFilterValue.hpp:26:1: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
  |    25 | #include <regex>
  |   +++ |+#include <cstdint>
  |    26 |

See: eProsima/Fast-DDS#5796
See: eProsima/Fast-DDS@e1524ac

Signed-off-by: Jan Vermaete <[email protected]>
vermaete added a commit to vermaete/meta-ros that referenced this pull request Jun 28, 2025
vermaete added a commit to vermaete/meta-ros that referenced this pull request Jun 29, 2025
EugenioCollado pushed a commit that referenced this pull request Jul 1, 2025
* Refs #23110: Add cstdint header for uint8_t

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #23110: Remove unused using

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #23110: Add missing cstdint to more headers

Signed-off-by: cferreiragonz <[email protected]>

---------

Signed-off-by: Mario Dominguez <[email protected]>
Signed-off-by: cferreiragonz <[email protected]>
Co-authored-by: cferreiragonz <[email protected]>
Signed-off-by: Eugenio Collado <[email protected]>
EugenioCollado pushed a commit that referenced this pull request Jul 2, 2025
* Refs #23110: Add cstdint header for uint8_t

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #23110: Remove unused using

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #23110: Add missing cstdint to more headers

Signed-off-by: cferreiragonz <[email protected]>

---------

Signed-off-by: Mario Dominguez <[email protected]>
Signed-off-by: cferreiragonz <[email protected]>
Co-authored-by: cferreiragonz <[email protected]>
Signed-off-by: Eugenio Collado <[email protected]>
rsanchez15 pushed a commit that referenced this pull request Jul 2, 2025
* Refs #23110: Add cstdint header for uint8_t



* Refs #23110: Remove unused using



* Refs #23110: Add missing cstdint to more headers



---------

Signed-off-by: Mario Dominguez <[email protected]>
Signed-off-by: cferreiragonz <[email protected]>
Signed-off-by: Eugenio Collado <[email protected]>
Co-authored-by: Mario Domínguez López <[email protected]>
Co-authored-by: cferreiragonz <[email protected]>
vermaete added a commit to vermaete/meta-ros that referenced this pull request Jul 4, 2025
vermaete added a commit to vermaete/meta-ros that referenced this pull request Jul 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge Ready to be merged. CI and changes have been reviewed and approved.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[GCC15] Build error due to unused using declaration Please include cstdint for gcc 15.1

4 participants