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 745821 - Don't use __alloc_size__ attribute with clang
Don't use __alloc_size__ attribute with clang
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2015-03-07 20:33 UTC by Patrick Griffis (tingping)
Modified: 2015-08-10 15:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix (1.28 KB, patch)
2015-03-17 13:14 UTC, Lubomir Rintel
none Details | Review
gmacros: Properly silence Clang's -Wunknown-attributes (1.56 KB, patch)
2015-04-10 03:44 UTC, Michael Catanzaro
none Details | Review

Description Patrick Griffis (tingping) 2015-03-07 20:33:04 UTC
It is not implemented and produces unknown attribute warnings.

A simple patch to solve this was already posted on gtk-devel mailing list:

https://mail.gnome.org/archives/gtk-devel-list/2014-November/msg00015.html
Comment 1 Lubomir Rintel 2015-03-17 13:14:26 UTC
Created attachment 299598 [details] [review]
Fix

Sorry I did not open a ticket myself and thanks for doing that!

Attaching the patch directly as the ml archive may have mangled the patch.
Comment 2 Michael Catanzaro 2015-04-10 03:44:59 UTC
Created attachment 301250 [details] [review]
gmacros: Properly silence Clang's -Wunknown-attributes

The code in master still triggers the warning
Comment 4 Matthias Clasen 2015-08-10 15:06:18 UTC
lets close it, then