Feature #523

C++ symbol visibility support for gcc builds

Added by Andreas Huggel over 10 years ago. Updated almost 9 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Andreas Huggel% Done:

100%

Category:miscellaneous
Target version:0.18

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

Related to Exiv2 - Feature #510: Use pimpl idiom where applicable New
Related to Exiv2 - Bug #524: Publish only API objects in the installed header files Closed
Related to Exiv2 - Bug #627: typeId methods not available, -fvisibility-inlines-hidden Closed 17 Apr 2009

History

#2 Updated by Andreas Huggel almost 9 years ago

  • % Done changed from 0 to 100

#3 Updated by Andreas Huggel almost 9 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF

Redmine Appliance - Powered by TurnKey Linux