Skip to content

Conversation

@audrow
Copy link
Member

@audrow audrow commented Oct 14, 2020

This PR enables -Wformat=2, -Wconversion, -Wshadow, -Wsign-conversion, -Wold-style-cast, and -Wcast-qual in rclcpp_components. This PR relies on using gtest v1.10.0, see ament/googletest#8.

@audrow audrow self-assigned this Oct 14, 2020
@audrow
Copy link
Member Author

audrow commented Oct 14, 2020

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@audrow
Copy link
Member Author

audrow commented Oct 21, 2020

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

Copy link
Member

@ivanpauno ivanpauno left a comment

Choose a reason for hiding this comment

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

I think you'll need to release https://github.com/ament/googletest/ in order to make the Rpr checker happy.

There are also some warning on macOS, it seems that -Wformat=2 is stricter in clang (the warnings seem to actually be a bug, so that's good).

LGTM with both things solved!

@clalancette
Copy link
Contributor

@ros-pull-request-builder retest this please

@clalancette
Copy link
Contributor

I think you'll need to release https://github.com/ament/googletest/ in order to make the Rpr checker happy.

(we already did that in rolling, so I just kicked the PR job again)

@audrow audrow closed this Dec 19, 2020
@audrow audrow force-pushed the audrow/rclcpp_components branch from db5895e to 62c958b Compare December 19, 2020 04:26
@audrow audrow deleted the audrow/rclcpp_components branch December 19, 2020 04:30
@audrow
Copy link
Member Author

audrow commented Dec 19, 2020

These changes were already applied by #1442 - thus, zero commits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants