_g_clear_fd_ignore_error() breaks with GLIB_VERSION_MAX_ALLOWED
The following discussion from gnome-build-meta!1836 (merged) should be addressed:
-
@akitouni started a discussion: (+1 comment) Another bug with the versions:
In file included from ../libgupnp/gupnp-context-manager.c:22: /usr/include/glib-2.0/glib/gstdio.h: In function ‘_g_clear_fd_ignore_error’: /usr/include/glib-2.0/glib/gstdio.h:203:3: error: ‘g_clear_fd’ is deprecated: Not available before 2.76 [-Werror=deprecated-declarations] 203 | if (!g_clear_fd (fd_ptr, NULL)) | ^~ /usr/include/glib-2.0/glib/gstdio.h:183:1: note: declared here 183 | g_clear_fd (int *fd_ptr, | ^~~~~~~~~~