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 693742 - giscanner: Suppress deprecation warnings when introspecting types
giscanner: Suppress deprecation warnings when introspecting types
Status: RESOLVED FIXED
Product: gobject-introspection
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-02-13 21:19 UTC by Stef Walter
Modified: 2015-02-07 16:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
giscanner: Suppress deprecation warnings when introspecting types (898 bytes, patch)
2013-02-13 21:19 UTC, Stef Walter
committed Details | Review

Description Stef Walter 2013-02-13 21:19:53 UTC
Fix warnings like this when running giscanner 

/data/projects/gobject-introspection/tmp-introspectibCB24/GObject-2.0.c:616:3: warning: ‘g_value_array_get_type’ is deprecated (declared at /data/projects/gobject-introspection/tmp-introspectibCB24/GObject-2.0.c:605): Use 'g_array_get_type' instead [-Wdeprecated-declarations]
Comment 1 Stef Walter 2013-02-13 21:19:57 UTC
Created attachment 235955 [details] [review]
giscanner: Suppress deprecation warnings when introspecting types
Comment 2 Colin Walters 2013-02-13 21:27:55 UTC
Review of attachment 235955 [details] [review]:

Theoretically we should only do this when we're using GCC, but likely CLang honors the flag, and I can't bring myself to really care at the moment =)
Comment 3 Stef Walter 2013-02-13 21:43:01 UTC
Attachment 235955 [details] pushed as a7ad2cc - giscanner: Suppress deprecation warnings when introspecting types
Comment 4 André Klapper 2015-02-07 16:56:31 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]