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. |
|
@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. |
jacobperron
left a comment
There was a problem hiding this comment.
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
|
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>
clalancette
left a comment
There was a problem hiding this comment.
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>
clalancette
left a comment
There was a problem hiding this comment.
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: