Skip to content

Fix hidden symbols on GCC - #74

Open
Flamefire wants to merge 1 commit into
pybind:masterfrom
Flamefire:patch-1
Open

Fix hidden symbols on GCC#74
Flamefire wants to merge 1 commit into
pybind:masterfrom
Flamefire:patch-1

Conversation

@Flamefire

Copy link
Copy Markdown

The pybind11 namespace is declared with hidden visibility, and GCC propagates type visibility to declarations that use pybind11 types. Without this, the definitions would be hidden and unavailable to other shared objects.

Force default visibility.

See pybind/pybind11_protobuf#239 & tensorflow/tensorflow#103033

The pybind11 namespace is declared with hidden visibility, and GCC propagates type visibility to declarations that use pybind11 types. Without this, the definitions would be hidden and unavailable to other shared objects.

Force default visibility.
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.

1 participant