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

Figure out how to better fix Interconnect inline signals on MinGW #72

Open
mosra opened this issue Jun 26, 2019 · 0 comments
Open

Figure out how to better fix Interconnect inline signals on MinGW #72

mosra opened this issue Jun 26, 2019 · 0 comments

Comments

@mosra
Copy link
Owner

mosra commented Jun 26, 2019

As of 5d2faa1, there's finally a test case and a (partial) solution for signals emitted across shared object boundaries. This problem started appearing on Linux/macOS after introducing -fvisibility-inlines-hidden in 7ae9031 (part of a fix for #53) and can be fixed on those systems by explicitly exporting the inline symbols as well.

MSVC doesn't have this problem in the first place (the inline function is defined just once in the DLL), but MinGW duplicates it and so far I'm not aware of any solution except for moving the definitions into the *.cpp file (which is extremely verbose). The Ui library does that as of mosra/magnum-extras@97da887 to make it usable, but I hope there's a better solution in the longer term.

@mosra mosra added this to TODO in Interconnect via automation Jun 26, 2019
@mosra mosra moved this from TODO to Important TODO in Interconnect Jun 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Interconnect
  
Important TODO
Development

No branches or pull requests

1 participant