Skip to content

use maybe_unused attribute for the portability.#2758

Merged
ahcorde merged 1 commit intorollingfrom
fujitatomoya/use-maybe-unused-attribute
Feb 27, 2025
Merged

use maybe_unused attribute for the portability.#2758
ahcorde merged 1 commit intorollingfrom
fujitatomoya/use-maybe-unused-attribute

Conversation

@fujitatomoya
Copy link
Copy Markdown
Collaborator

CMAKE_CXX_STANDARD is set to 17, [[maybe_unused]] is a C++17 attribute with more portability.

Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
@fujitatomoya fujitatomoya self-assigned this Feb 26, 2025
@fujitatomoya
Copy link
Copy Markdown
Collaborator Author

@mjcarroll minor cosmetic fix, could you take a look?

@fujitatomoya
Copy link
Copy Markdown
Collaborator Author

fujitatomoya commented Feb 26, 2025

Pulls: #2758
Gist: https://gist.githubusercontent.com/fujitatomoya/4f14d3ce08e6b945183ba36c1ceb3f69/raw/06dd0c25614f3f89fbab6c83e0933bc871c929b0/ros2.repos
BUILD args: --packages-above-and-dependencies rclcpp rclcpp_action rclcpp_lifecycle rclcpp_components
TEST args: --packages-above rclcpp rclcpp_action rclcpp_lifecycle rclcpp_components
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/15248

@christophebedard
Copy link
Copy Markdown
Member

It might be worth triggering a ci_linux_clang_libcxx job too.

@ahcorde
Copy link
Copy Markdown
Contributor

ahcorde commented Feb 27, 2025

warnings are unrelated. Merging

@ahcorde ahcorde merged commit 6c10f94 into rolling Feb 27, 2025
3 checks passed
@ahcorde ahcorde deleted the fujitatomoya/use-maybe-unused-attribute branch February 27, 2025 09:44
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