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

Ignore actionlib_msgs deprecation warnings #245

Merged
merged 2 commits into from
Mar 12, 2020

Conversation

jacobperron
Copy link
Member

@jacobperron jacobperron commented Mar 10, 2020

Fixes ros2/build_farmer#267
Depends on ament/ament_cmake#223

Note, this change will ignore all deprecation warnings produced by calling find_package(actionlib_msgs). I'm not sure of a nice way in CMake to ignore a single message coming from a command, but I think this solution is reasonable since I don't expect other deprecation warnings to come from finding actionlib_msgs. Alternatively, we could introduce a new variable in ament_cmake to toggle the deprecation warning, e.g. actionlib_msgs_IGNORE_DEPRECATED, but it doesn't seem very elegant.

@dirk-thomas
Copy link
Member

If the referenced PR is being updated with this comment (ament/ament_cmake#223 (comment)) only that specific deprecation message can be silenced.

This time only ignore the single message we care to ignore

Signed-off-by: Jacob Perron <[email protected]>
@jacobperron
Copy link
Member Author

I've updated both PRs to allow for alternative approach, which quiets the single warning we care to ignore.

@jacobperron
Copy link
Member Author

jacobperron commented Mar 11, 2020

  • Linux packaging Build Status (failures occurring on nightly)

@jacobperron jacobperron merged commit 03eb624 into master Mar 12, 2020
@delete-merged-branch delete-merged-branch bot deleted the jacob/squelch_deprecation_warning branch March 12, 2020 17:01
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.

actionlib_msgs deprecation warning when building ros1_bridge
3 participants