GNOME Bugzilla – Bug 697160
[PATCH] gmacros: Mark G_UNAVAILABLE() functions as deprecated (gcc <= 4.4)
Last modified: 2013-04-03 04:43:36 UTC
RHEL6 ships with GCC 4.4 by default, which doesn't understand the nicer deprecated attribute that takes a message. However, we can at least fall back to the old G_DEPRECATED, rather than silently doing nothing. This gives me warning messages when building OSTree on RHEL6 when I accidentally added a usage of g_unix_fd_source_new(). --- glib/gmacros.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Created attachment 240462 [details] [review] 0001-gmacros-Mark-G_UNAVAILABLE-functions-as-deprecated-g.patch
Review of attachment 240462 [details] [review]: assuming G_DEPRECATED is working then this will also obviously work, so ACK
Thanks for the fast review!