-
Notifications
You must be signed in to change notification settings - Fork 43
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
Don't use ignition/msgs.hh #315
Conversation
Signed-off-by: Michael Carroll <michael@openrobotics.org>
Codecov Report
@@ Coverage Diff @@
## gz-transport12 #315 +/- ##
===============================================
Coverage 88.11% 88.11%
===============================================
Files 52 52
Lines 4848 4848
===============================================
Hits 4272 4272
Misses 576 576
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes! Thanks! We should almost never use the library_name.hh
headers.
I believe we need to wrap those includes in warning suppressions though, for Windows.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there are extra warnings on Windows.
I have a fix coming for ign-msgs that should fix all 🤞 |
Quick note, this will have downstream impacts. My preference would be to at least fix it in all of our libraries before merging this. I don't know if this could be considered an API/ABI break as it is depending on bad behavior to work? |
It's bad practice to rely on indirect includes, so technically we don't have an obligation to keep the includes. It would be nice to add a note to the migration guide. We don't want to break our users knowingly though, and I'm pretty sure this will break people, so I'm in favor of targeting this at |
Signed-off-by: Michael Carroll <michael@openrobotics.org>
draft pull request to fix the missing includes in gz-sensors with homebrew and windows CI that builds against this branch: gazebosim/gz-sensors#242 |
Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Louise Poubel <louise@openrobotics.org>
Using narrowly scoped
<gz/msgs/foo>
headers cuts compilation time on my computer:Before:
After: