Issue 282 in pidgin-musictracker: Compile error, g_value_array_get_nth’ is deprecated

42 views
Skip to first unread message

pidgin-mu...@googlecode.com

unread,
Feb 19, 2013, 8:47:22 AM2/19/13
to pidgin-musict...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 282 by SanskritFritz: Compile error, g_value_array_get_nth’ is
deprecated
http://code.google.com/p/pidgin-musictracker/issues/detail?id=282

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



--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

pidgin-mu...@googlecode.com

unread,
Feb 26, 2013, 10:10:30 AM2/26/13
to pidgin-musict...@googlegroups.com

Comment #1 on issue 282 by nick.cab...@gmail.com: Compile error,
Same here

gcc 4.7.2-4
glib 1.2.10-9
glib2 2.34.3-1
glibc 2.17-3

pidgin-mu...@googlecode.com

unread,
Feb 26, 2013, 3:10:03 PM2/26/13
to pidgin-musict...@googlegroups.com

Comment #2 on issue 282 by SanskritFritz: Compile error,
Workaround:
make CFLAGS="-Wno-deprecated-declarations"

pidgin-mu...@googlecode.com

unread,
Apr 24, 2014, 6:08:27 AM4/24/14
to pidgin-musict...@googlegroups.com

Comment #3 on issue 282 by rohanion...@gmail.com: Compile error,
Issue 283: patch included
Reply all
Reply to author
Forward
0 new messages