Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Fix different signedness compiler warning #42

Merged
merged 2 commits into from Feb 1, 2020

Conversation

jacobperron
Copy link
Member

@jacobperron jacobperron commented Jan 31, 2020

Specifically, "comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’"

This should fix many of the warnings seen in https://ci.ros2.org/job/ci_linux/9175/warnings23Result/new/

After: Build Status (down to 212 warnings from 715)

Specifically, "comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’"

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
@jacobperron jacobperron self-assigned this Jan 31, 2020
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
@jacobperron
Copy link
Member Author

There was a similar set of warnings coming from the cpp generator template, fixed (7f8fb5d) and re-triggered CI.

@jacobperron
Copy link
Member Author

To check things still work on other platforms (up to test_msgs):

  • macOS: Build Status
  • Windows: Build Status

@jacobperron jacobperron merged commit ee6472e into master Feb 1, 2020
@delete-merged-branch delete-merged-branch bot deleted the jacob/fix_compiler_warning branch February 1, 2020 00:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants