After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 720203 - Need to add extra macros to define when methods became available, and mark all public methods to be exported
Need to add extra macros to define when methods became available, and mark al...
Status: RESOLVED DUPLICATE of bug 728031
Product: atk
Classification: Platform
Component: atk
unspecified
Other Linux
: Normal normal
: ---
Assigned To: ATK maintainer(s)
ATK maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-12-10 16:55 UTC by Alejandro Piñeiro Iglesias (IRC: infapi00)
Modified: 2014-04-12 00:32 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Alejandro Piñeiro Iglesias (IRC: infapi00) 2013-12-10 16:55:56 UTC
Recently GLib modules started to do this. Rationale and original bug here:
https://bugzilla.gnome.org/show_bug.cgi?id=688681

This would allow, among other things, to get rid of the (currently outdated) atk.symbols file.
Comment 1 Emilio Pozuelo Monfort 2014-04-02 14:18:55 UTC
This would also help in only exporting public symbols. e.g. 2.12 introduced:

_compact_name
_gettext_initialization

which are exported in the DSO.

Another option would be to use libtool's -export-symbols-regex.
Comment 2 Alejandro Piñeiro Iglesias (IRC: infapi00) 2014-04-03 11:13:43 UTC
(In reply to comment #1)
> This would also help in only exporting public symbols. e.g. 2.12 introduced:
> 
> _compact_name
> _gettext_initialization
> 
> which are exported in the DSO.

True. Thanks for pointing it.

> Another option would be to use libtool's -export-symbols-regex.

Yes, probably, but I prefer to use those macros, to be more aligned to what glib and gtk+ does.
Comment 3 Fan, Chun-wei 2014-04-12 00:32:00 UTC
Hi,

Sorry Piñeiro, I didn't realize this bug was opened before I opened 728031 last night :) 

As bug 728031 contains ongoing work to use the macros (visibility-based/__declspec (dllexport) method) to export symbols from ATK, I think we might want to direct the work to there.

With blessings, thank you!

*** This bug has been marked as a duplicate of bug 728031 ***