-
Notifications
You must be signed in to change notification settings - Fork 885
[23110] Address some compilation warnings with GCC latest #5796
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
Conversation
Signed-off-by: Mario Dominguez <[email protected]>
Signed-off-by: Mario Dominguez <[email protected]>
|
Backports to 2.x should drop the second commit regarding |
|
@richiprosima check style pls |
Signed-off-by: cferreiragonz <[email protected]>
cferreiragonz
left a comment
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.
LGTM with green CI. I have added two extra missing includes that I found when trying to compile with gcc 15.
|
With that headers included the compilation succeeds. I observed an extra warning |
|
CI for alternative builds with latest GCC here |
|
@Mergifyio backport 3.1.x 2.14.x 2.10.x |
✅ Backports have been createdDetails
|
* 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
* 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
* 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)
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]>
* 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]>
* 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]>
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]>
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]>
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]>
See: eProsima/Fast-DDS#5796 See: eProsima/Fast-DDS@e1524ac Signed-off-by: Jan Vermaete <[email protected]>
See: eProsima/Fast-DDS#5796 See: eProsima/Fast-DDS@e1524ac Signed-off-by: Jan Vermaete <[email protected]>
* 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]>
* 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]>
* 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]>
See: eProsima/Fast-DDS#5796 See: eProsima/Fast-DDS@e1524ac Signed-off-by: Jan Vermaete <[email protected]>
See: eProsima/Fast-DDS#5796 See: eProsima/Fast-DDS@e1524ac Signed-off-by: Jan Vermaete <[email protected]>
Description
This PR addresses issues #5790 and #5792
@Mergifyio backport 3.1.x 2.14.x 2.10.x
Contributor Checklist
versions.mdfile (if applicable).Reviewer Checklist