Feature #523
C++ symbol visibility support for gcc builds
Start date:
Due date:
% Done:
100%
Estimated time:
Description
Promises interesting benefits:
+ Improved compatibility with other libraries using this feature (KDE) w/ respect to exceptions
+ Smaller binary size
+ Better ABI versioning control
+ Starting point for a Windows DLL
- Requires code re-org to keep the published API in sync, i.e., not include internal (non-visible) classes, functions and variables in the installed header files.
References:
gcc options -fvisibility=hidden and -fvisibility-inlines-hidden (since gcc 4.0)
http://gcc.gnu.org/wiki/Visibility
http://people.redhat.com/drepper/dsohowto.pdf
Related issues