Add G_GNUC_BEGIN/END_IGNORE_DEPRECATIONS
authorDan Winship <danw@gnome.org>
Fri, 10 Feb 2012 13:49:17 +0000 (08:49 -0500)
committerDan Winship <danw@gnome.org>
Wed, 15 Feb 2012 14:54:38 +0000 (09:54 -0500)
commitca05902a5883020add334e542a63d7f9381a3117
tree961b8275bbe6b104dd06e885a11ac0e03f25abf7
parentab59739e1177d463fc7577def059deb0179662cc
Add G_GNUC_BEGIN/END_IGNORE_DEPRECATIONS

Add new macros to disable -Wdeprecated-declarations around a piece of
code, using the C99 (and GNU89) _Pragma() operator. Replace the
existing use of #pragma for this in gio, and suppress the warnings in
gvaluearray.c as well.

https://bugzilla.gnome.org/show_bug.cgi?id=669671
docs/reference/glib/glib-sections.txt
gio/gdesktopappinfo.c
gio/giomodule.c
glib/docs.c
glib/gmacros.h
gobject/gvaluearray.c