-
Notifications
You must be signed in to change notification settings - Fork 193
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
Activate usual compiler warnings and fix errors #270
Activate usual compiler warnings and fix errors #270
Conversation
@ros-pull-request-builder retest this please |
The failing test in the PR checker is also failing in other opened PRs, e.g. #269 http://build.ros2.org/job/Fpr__geometry2__ubuntu_focal_amd64/14/. I haven't found an equivalent failure in nightlies. |
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
@jacobperron do you prefer merging this after or before the rosdistro freeze? There are some fixes that can't be backported (the missing virtual destructors), but I can create a separated PR with only that. |
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.
I think merging the virtual destructor changes before Foxy release is relatively low risk, but I'd rather revert the changes to the logic. See my comments below.
95fbae7
to
a91d97c
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.
LGTM
It seems that this is introducing some Windows failures .... |
a91d97c
to
2a9b1aa
Compare
After yet another indexing error that was causing the windows failure (9df0fba), I reverted the commits reversing the indexing and applied the original idea of comparing with MAX size_t. |
This comment has been minimized.
This comment has been minimized.
@ros-pull-request-builder retest this please |
2b5c962
to
a2118b9
Compare
Windows is still unhappy. |
5045b72
to
4ead91b
Compare
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
4ead91b
to
d9d0c3a
Compare
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
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 thing to fix (and green CI), then I'm happy with this.
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com> Co-authored-by: Chris Lalancette <clalancette@openrobotics.org>
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.
Looks good, thanks for iterating @ivanpauno !
With the same spirit that ros2/rclcpp#1149, activate usual compiler warnings.
I then fixed the errors that were reported, which included: