-
Notifications
You must be signed in to change notification settings - Fork 7
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
Implement proper C++ visibility support? #15
Comments
The CMake's macro A thing that is typically tricky to get right is to correctly disable the visibility flags on Windows when building a static library. Related discussion: ros/console_bridge#40 (comment) . |
@traversaro great, thanks for your feedback. I'll have a look at it and see what I can do 👍 |
@traversaro, the |
Yes. To be honest I think that for most cases in research code the benefit of a clean list of symbols is not worth the overhead of making sure that the visibility macros are properly used, but this is probably a decision that it make sense to do on a per-project basis. |
100% agree 🚀 |
The issue robotology/icub-main#577 is a good example of issue that would be avoided if |
Implement C++ visibility support as described here.
This will probably allow us to remove this Windows-specific CMake instruction.
An example of this implementation can be found in YARP in
conf/api.h
used, e.g., inos/api.h
.The text was updated successfully, but these errors were encountered: