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

[rcl_logging_spdlog] Add warnings #54

Merged
merged 3 commits into from
Oct 20, 2020

Conversation

audrow
Copy link
Member

@audrow audrow commented Sep 29, 2020

This PR enables -Wformat=2, -Wconversion, -Woverloaded-virtual, -Wshadow, -Wnon-virtual-dtor, -Wold-style-cast, and -Wcast-qual in rcl_logging_spdlog. No source code was modified to enable these warnings.

Relies on googletest being v1.10.0 (ament/googletest#8).

Signed-off-by: Audrow Nash <audrow.nash@gmail.com>
@audrow audrow self-assigned this Sep 29, 2020
@audrow audrow changed the title "[rcl_logging_spdlog] Add warnings" [rcl_logging_spdlog] Add warnings Sep 29, 2020
Signed-off-by: Audrow Nash <audrow.nash@gmail.com>

Co-authored-by: Chris Lalancette <clalancette@openrobotics.org>
Copy link
Contributor

@clalancette clalancette left a comment

Choose a reason for hiding this comment

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

Looks good with green CI.

@audrow
Copy link
Member Author

audrow commented Sep 29, 2020

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

Signed-off-by: Audrow Nash <audrow.nash@gmail.com>

Co-authored-by: Chen Lihui <lihui.chen@sony.com>
@audrow
Copy link
Member Author

audrow commented Oct 6, 2020

Running different gtest versions to see if we can fix the warnings:

  • gtest v1.8.0 (what is currently used)
    • macOS Build Status → 31 warnings
  • gtest v1.10.0
    • macOS Build Status
  • Last commit on gtest that passed CI:
    • macOS Build Status → 2 warnings

@audrow
Copy link
Member Author

audrow commented Oct 20, 2020

New CI run, after gtest has been updated to v1.10.0:

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

@audrow audrow merged commit 4866a49 into master Oct 20, 2020
@delete-merged-branch delete-merged-branch bot deleted the audrow/add-warnings-rcl_logging_spdlog branch October 20, 2020 20:59
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.

None yet

3 participants