Feature #523

C++ symbol visibility support for gcc builds

Added by Andreas Huggel over 11 years ago. Updated over 10 years ago.

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


Target version:0.18


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.

gcc options -fvisibility=hidden and -fvisibility-inlines-hidden (since gcc 4.0)

Related issues

Related to Exiv2 - Feature #510: Use pimpl idiom where applicable Closed
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


#2 Updated by Andreas Huggel over 10 years ago

  • % Done changed from 0 to 100

#3 Updated by Andreas Huggel over 10 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF

Redmine Appliance - Powered by TurnKey Linux