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

Update function prefix #596

Merged
merged 1 commit into from
Jun 15, 2021

Conversation

pablogs9
Copy link
Member

I have found that this template will generate objects with same name if two packages have a .msg named equal.

This generate symbols named equal and in some cases, the linker will complain about this duplication.

In order to solve it, I propose to append also the package name that is guaranteed to be unique.

Signed-off-by: Pablo Garrido <pablogs9@gmail.com>
@pablogs9 pablogs9 force-pushed the fix/message_support_duplication branch from de93f11 to 0a155f5 Compare May 21, 2021 08:58
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.

This idea seems totally reasonable to me. My only concern here is that this may trigger cpplint warnings since it adds a lot of text to function names. I guess we'll see when we run full CI, which I'll do next.

I would like to get another opinion from @sloretz as well.

@clalancette
Copy link
Contributor

clalancette commented May 21, 2021

CI:

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

pablogs9 added a commit to micro-ROS/micro_ros_arduino that referenced this pull request May 24, 2021
pablogs9 added a commit to micro-ROS/micro_ros_arduino that referenced this pull request May 24, 2021
mergify bot pushed a commit to micro-ROS/micro_ros_arduino that referenced this pull request May 24, 2021
Remove when ros2/rosidl#596 is merged

(cherry picked from commit cbddd26)
pablogs9 added a commit to micro-ROS/micro_ros_arduino that referenced this pull request May 24, 2021
Remove when ros2/rosidl#596 is merged

(cherry picked from commit cbddd26)

Co-authored-by: Pablo Garrido <pablogs9@gmail.com>
pablogs9 added a commit to micro-ROS/micro_ros_arduino that referenced this pull request May 24, 2021
Workaround. Remove when ros2/rosidl#596 is merged
pablogs9 added a commit to micro-ROS/micro_ros_arduino that referenced this pull request May 24, 2021
Workaround. Remove when ros2/rosidl#596 is merged
mergify bot pushed a commit to micro-ROS/micro_ros_arduino that referenced this pull request May 24, 2021
Workaround. Remove when ros2/rosidl#596 is merged

(cherry picked from commit 4cb3bfd)
pablogs9 added a commit to micro-ROS/micro_ros_arduino that referenced this pull request May 24, 2021
Workaround. Remove when ros2/rosidl#596 is merged

(cherry picked from commit 4cb3bfd)

Co-authored-by: Pablo Garrido <pablogs9@gmail.com>
@clalancette clalancette requested a review from sloretz June 10, 2021 17:05
@clalancette clalancette self-assigned this Jun 10, 2021
@pablogs9
Copy link
Member Author

Hello, @clalancette any update on this?

@pablogs9
Copy link
Member Author

@mergify backport galactic

@pablogs9
Copy link
Member Author

Thanks a lot, @clalancette. If you don't mind I have backported it to galactic.

mergify bot pushed a commit that referenced this pull request Jun 15, 2021
Signed-off-by: Pablo Garrido <pablogs9@gmail.com>
(cherry picked from commit 1d7b22f)
@mergify
Copy link
Contributor

mergify bot commented Jun 15, 2021

Command backport galactic: success

Backports have been created

Hey, I reacted but my real name is @Mergifyio

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.

2 participants