FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix warnings on Windows. (backport #2692) by mergify[bot] · Pull Request #2694 · ros2/rclcpp · GitHub

/ rclcpp Public

Fix warnings on Windows. (backport #2692) - #2694

Merged
ahcorde merged 2 commits into
jazzyfrom
mergify/bp/jazzy/pr-2692
Dec 4, 2024
Merged

Fix warnings on Windows. (backport #2692)#2694
ahcorde merged 2 commits into
jazzyfrom
mergify/bp/jazzy/pr-2692

Conversation

mergify Bot commented Dec 3, 2024

Copy link
Copy Markdown
Contributor

For reasons I admit I do not understand, the deprecation warnings for StaticSingleThreadedExecutor on Windows happen when we construct a shared_ptr for it in the tests. If we construct a regular object, then it is fine. Luckily this test does not require a shared_ptr, so just make it a regular object here, which fixes the warning.

While we are in here, make all of the tests camel case to be consistent.

This should fix the warnings introduced by #2683 . @jmachowinski @fujitatomoya FYI


This is an automatic backport of pull request #2692 done by Mergify.

For reasons I admit I do not understand, the deprecation
warnings for StaticSingleThreadedExecutor on Windows
happen when we construct a shared_ptr for it in the tests.
If we construct a regular object, then it is fine.  Luckily
this test does not require a shared_ptr, so just make it
a regular object here, which rixes the warning.

While we are in here, make all of the tests camel case to
be consistent.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
(cherry picked from commit 3310f9e)

# Conflicts:
#	rclcpp/test/rclcpp/executors/test_executors.cpp
mergify Bot added the conflicts label Dec 3, 2024

mergify Bot commented Dec 3, 2024

Copy link
Copy Markdown
Contributor Author

Cherry-pick of 3310f9e has failed:

On branch mergify/bp/jazzy/pr-2692
Your branch is up to date with 'origin/jazzy'.

You are currently cherry-picking commit 3310f9ea.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   rclcpp/test/rclcpp/executors/test_executors.cpp

no changes added to commit (use "git add" and/or "git commit -a")

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

mergify Bot mentioned this pull request Dec 3, 2024
Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>

fujitatomoya left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

lgtm with green CI

fujitatomoya commented Dec 3, 2024
edited
Loading

Copy link
Copy Markdown
Collaborator

Pulls: #2694
Gist: https://gist.githubusercontent.com/fujitatomoya/b421bc8de31710efb855f13ee721174d/raw/563ee7b67742e0d34851f03293c1e400ce11646b/ros2.repos
BUILD args: --packages-above-and-dependencies rclcpp
TEST args: --packages-above rclcpp
ROS Distro: jazzy
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/14904

  • Linux
  • Linux-aarch64
  • Linux-rhel
  • Windows

ahcorde merged commit e217532 into jazzy Dec 4, 2024
ahcorde deleted the mergify/bp/jazzy/pr-2692 branch December 4, 2024 08:50
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL