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

[windows] reducing the odds to have name collisions #47

Merged
merged 3 commits into from
Feb 25, 2020

Conversation

seanyen
Copy link
Contributor

@seanyen seanyen commented Jan 30, 2020

Even with some effort to reduce the expose of Windows.h from several ROS repositories. There are still changes that some external dependencies including Windows.h.

This pull request is to propose a mitigation to conditionally #undef the type of names with higher odds to have name collision on Windows side. And the goal is to reduce the odds from name collisions without extensive touch-ups on downstream projects.

Here are some examples where the name collisions happen:

@seanyen
Copy link
Contributor Author

seanyen commented Feb 7, 2020

@dirk-thomas @tfoote This is ready for review and merge. And let me know what do you think about this change.

@seanyen
Copy link
Contributor Author

seanyen commented Feb 24, 2020

@dirk-thomas I did some edits to address the feedback. This is ready for review again. Thanks!

@dirk-thomas
Copy link
Member

Thanks for the patch.

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