-
Notifications
You must be signed in to change notification settings - Fork 277
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
explain why detail::View symbols are visible #788
Conversation
linking error in Ubuntu:
https://build.osrfoundation.org/job/ignition_gazebo-ci-pr_any-ubuntu_auto-amd64/6028/ maybe the symbols need to be visible? |
So, after looking into the linking errors and chatting with @mjcarroll offline, I believe that the symbols for So, unless we can hide the templates somehow, then I believe we will need to keep @chapulina what do you think? I think we should probably close this PR and also close #759, with a note explaining why we can't hide the symbol visibility. Perhaps it would also be worth adding some documentation to the |
Ouch, ok, it makes sense. I thought that we shouldn't need to make the symbols visible because they were headers. Gotta learn more about symbol generation. I guess then that we can't ever make ABI breaking changes to |
I don't think this statement is 100% true. If you look at I went ahead and reverted back to |
Codecov Report
@@ Coverage Diff @@
## main #788 +/- ##
=======================================
Coverage 65.34% 65.35%
=======================================
Files 240 240
Lines 17602 17602
=======================================
+ Hits 11502 11503 +1
+ Misses 6100 6099 -1
Continue to review full report at Codecov.
|
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.
these classes aren't used in template methods elsewhere
Interesting, I think I'm starting to understand. It's very nuanced, something to be careful about when using these classes on our own headers too.
Signed-off-by: Ashton Larkin <[email protected]>
f6606d7
to
6143d3e
Compare
Signed-off-by: Ashton Larkin <[email protected]> Signed-off-by: William Lew <[email protected]>
Signed-off-by: Ashton Larkin [email protected]
🦟 Bug fix
Fixes #759
Summary
This hides the symbols of thedetail::View
class so that we can make changes to it as needed without breaking ABI. Since this is an ABI-breaking change, this has to be done in fortress.Edit: the symbol visibility for
detail::View
cannot be hidden. See the comments below for an explanation.Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge