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

DM-15151: Set symbol visibility to hidden in pybind11 wrappers #30

Merged
merged 1 commit into from Sep 12, 2018

Conversation

r-owen
Copy link
Contributor

@r-owen r-owen commented Aug 28, 2018

No description provided.

@r-owen r-owen changed the title Set symbol visibility to hidden in pybind11 wrappers DM-15151: Set symbol visibility to hidden in pybind11 wrappers Aug 29, 2018
Copy link
Member

@kfindeisen kfindeisen left a comment

Choose a reason for hiding this comment

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

Looks good!

*
* This implementation works for gcc and clang; it has not been tested for other compilers
*/
# define LSST_EXPORT __attribute__ ((visibility("default")))
Copy link
Member

Choose a reason for hiding this comment

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

It's a bit disappointing that GCC doesn't seem to be migrating to C++11-style attributes (in Clang we could use [[clang::lto_visibility_public]]). Oh well...

@r-owen r-owen merged commit 2cc461c into master Sep 12, 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.

None yet

2 participants