Project

General

Profile

Feature #523

C++ symbol visibility support for gcc builds

Added by Andreas Huggel over 14 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Category:
miscellaneous
Target version:
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

Related to Exiv2 - Feature #510: Use pimpl idiom where applicableClosed

Actions
Related to Exiv2 - Bug #524: Publish only API objects in the installed header filesClosed

Actions
Related to Exiv2 - Bug #627: typeId methods not available, -fvisibility-inlines-hiddenClosed17 Apr 2009

Actions

History

#2

Updated by Andreas Huggel almost 13 years ago

  • % Done changed from 0 to 100
#3

Updated by Andreas Huggel almost 13 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF