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 734126 - [patch] add G_GNUC_BEGIN_IGNORE_DEPRECATIONS macro for clang
[patch] add G_GNUC_BEGIN_IGNORE_DEPRECATIONS macro for clang
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2014-08-01 15:11 UTC by Thomas Haller
Modified: 2014-08-22 19:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (952 bytes, patch)
2014-08-01 15:11 UTC, Thomas Haller
accepted-commit_now Details | Review

Description Thomas Haller 2014-08-01 15:11:31 UTC
Created attachment 282275 [details] [review]
patch

In gmacros.h, G_GNUC_BEGIN_IGNORE_DEPRECATIONS and G_GNUC_END_IGNORE_DEPRECATIONS macos are defined as empty for clang.

Tested on Fedora with clang version 3.4-6.fc20.
Comment 1 Matthias Clasen 2014-08-03 18:45:01 UTC
Review of attachment 282275 [details] [review]:

Looks good to me, thanks
Comment 2 Matthias Clasen 2014-08-03 18:45:14 UTC
Review of attachment 282275 [details] [review]:

Looks good to me, thanks