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

Symbol visibility issues (Clang) #171

Open
ferdonline opened this issue Mar 9, 2020 · 0 comments
Open

Symbol visibility issues (Clang) #171

ferdonline opened this issue Mar 9, 2020 · 0 comments

Comments

@ferdonline
Copy link
Contributor

Compiling for mac I see a lot of these warnings

ld: warning: direct access in function 'bind_immutable_module(pybind11::module&)' from file 'CMakeFiles/_morphio.dir/bind_immutable.cpp.o' to global weak symbol 'morphio::SectionBasemorphio::Section::id() const' from file '../../src/libmorphio_static.a(morphology.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.

When Werror is active it fails compilation.

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

No branches or pull requests

1 participant