Skip to content

Fix format string warnings.#153

Closed
nuclearsandwich wants to merge 1 commit intoros2from
fix-format-warning
Closed

Fix format string warnings.#153
nuclearsandwich wants to merge 1 commit intoros2from
fix-format-warning

Conversation

@nuclearsandwich
Copy link
Copy Markdown
Member

With ros2/rcutils#154 warnings are emitted for "dangerous patterns" in format strings.
%p expects a void * argument so a void * argument we shall provide.

With ros2/rcutils#154 warnings are emitted for
"dangerous patterns" in format strings.
%p expects a void * argument so a void * argument we shall provide.

Signed-off-by: Steven! Ragnarök <steven@nuclearsandwich.com>
@nuclearsandwich
Copy link
Copy Markdown
Member Author

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

@dirk-thomas
Copy link
Copy Markdown
Member

Looks like a duplicate of #152?

@dirk-thomas
Copy link
Copy Markdown
Member

Also C++ casts should be used in C++ instead of C casts.

@nuclearsandwich
Copy link
Copy Markdown
Member Author

Closing in favor of #152

@nuclearsandwich nuclearsandwich deleted the fix-format-warning branch May 1, 2019 13:41
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.

2 participants