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

tp_call.h fix field type for tracepoint event rclcpp_ring_buffer_enqueue #117

Merged
merged 1 commit into from
May 21, 2024

Conversation

mat-kie
Copy link
Contributor

@mat-kie mat-kie commented May 19, 2024

Reason for this pull request:

While trying to compile ros2 on my system with gcc-14 i got an integer conversion warning causing a compilation failure:

error: initialization of ‘const uint64_t *’ {aka ‘const long unsigned int *’} from ‘uint64_t’ {aka ‘long unsigned int’} makes pointer from integer without a cast [-Wint-conversion]
  474 |     ctf_integer(const uint64_t *, index, index_arg)

Proposed fix:

As far as i see it, the field type should match the argument type in this case.

After applying the proposed fix locally, the compilation succeeded.

Copy link
Contributor

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

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

Copy link
Member

@christophebedard christophebedard left a comment

Choose a reason for hiding this comment

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

Yep, that shouldn't be a pointer. Thanks for the PR!

@christophebedard
Copy link
Member

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

@christophebedard
Copy link
Member

The failures on aarch64 are due to Mimick and are expected, so this is good. Thanks for the fix!

@christophebedard christophebedard merged commit 7e8d42e into ros2:rolling May 21, 2024
9 checks passed
@christophebedard christophebedard mentioned this pull request Jun 10, 2024
@christophebedard
Copy link
Member

@Mergifyio backport jazzy

Copy link

mergify bot commented Jun 10, 2024

backport jazzy

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Jun 10, 2024
christophebedard pushed a commit that referenced this pull request Jun 10, 2024
…117) (#119)

Signed-off-by: Mattis Kieffer <[email protected]>
(cherry picked from commit 7e8d42e)

Co-authored-by: Mattis Kieffer <[email protected]>
@christophebedard
Copy link
Member

@Mergifyio backport iron

Copy link

mergify bot commented Jun 14, 2024

backport iron

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Jun 14, 2024
christophebedard pushed a commit that referenced this pull request Jun 15, 2024
…117) (#121)

Signed-off-by: Mattis Kieffer <[email protected]>
(cherry picked from commit 7e8d42e)

Co-authored-by: Mattis Kieffer <[email protected]>
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