
pidgin-musictracker - issue #282
Compile error, g_value_array_get_nth’ is deprecated
make install aborts with the following errors using GNU Make 3.82 and gcc (GCC) 4.7.2
mpris.c: In function ‘mpris_status_signal_struct_cb’:
mpris.c:153:13: error: ‘g_value_array_get_nth’ is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:65): Use 'g_array_index' instead [-Werror=deprecated-declarations]
mpris.c: In function ‘mpris_check_player’:
mpris.c:336:13: error: ‘g_value_array_free’ is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:72): Use 'g_array_unref' instead [-Werror=deprecated-declarations]
cc1: all warnings being treated as errors
make[2]: * [mpris.lo] Error 1
make[2]: Leaving directory /usr/AUR/pidgin-musictracker/src/pidgin-musictracker-0.4.22/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
/usr/AUR/pidgin-musictracker/src/pidgin-musictracker-0.4.22'
make: * [all] Error 2
Comment #1
Posted on Feb 26, 2013 by Swift CatSame here
gcc 4.7.2-4 glib 1.2.10-9 glib2 2.34.3-1 glibc 2.17-3
Comment #2
Posted on Feb 26, 2013 by Grumpy RabbitWorkaround: make CFLAGS="-Wno-deprecated-declarations"
Comment #3
Posted on Apr 24, 2014 by Happy CatIssue 283: patch included
Status: New
Labels:
Type-Defect
Priority-Medium