[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
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

Fix test linking issues on Windows #10

Merged
merged 6 commits into from
Oct 16, 2018
Merged

Fix test linking issues on Windows #10

merged 6 commits into from
Oct 16, 2018

Conversation

mjcarroll
Copy link
Member

Fixes #9 by correctly depending on ament_cmake_ros as well as general cleaning of Windows-specific warnings.

@mjcarroll mjcarroll added the in progress Actively being worked on (Kanban column) label Oct 8, 2018
@mjcarroll
Copy link
Member Author
  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@@ -272,12 +272,12 @@ class Cache : public SimpleFilter<M>

MConstPtr out ;

int i=cache_.size()-1 ;
size_t i=cache_.size()-1 ;
Copy link
Member

Choose a reason for hiding this comment

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

This change makes the condition in the while loop (i>=0) obsolete. When cache_ is empty a rollover would occur.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, I'll go back and verify anywhere that I made signedness changes.

@@ -135,7 +135,7 @@ TEST(Cache, easySurroundingInterval)
}


std::shared_ptr<Msg const> buildMsg(double time, int data)
std::shared_ptr<Msg const> buildMsg(int32_t time, int data)
Copy link
Member

Choose a reason for hiding this comment

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

Should the argument be named seconds?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, also is there a reason that we don't have a double constructor for time in ROS2?

Copy link
Member

Choose a reason for hiding this comment

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

is there a reason that we don't have a double constructor for time in ROS2?

Probably just not implemented yet.

@mjcarroll
Copy link
Member Author
  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@mjcarroll
Copy link
Member Author

@tfoote I believe after this, we should be able to put this in ros2.repos for CI.

@mjcarroll
Copy link
Member Author

Fixed a fat-finger:

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

Copy link
Contributor
@chapulina chapulina left a comment

Choose a reason for hiding this comment

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

Can't speak much for Windows, but the changes look good to me and CI is all clear.

@mjcarroll mjcarroll merged commit 337c93a into master Oct 16, 2018
@mjcarroll mjcarroll deleted the fix_windows branch October 16, 2018 14:26
@mjcarroll mjcarroll removed the in progress Actively being worked on (Kanban column) label Oct 16, 2018
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