Skip to content
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

[rclcpp_components] Add warnings #1406

Closed
wants to merge 0 commits into from
Closed

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 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.

3 participants