[gcompris-devel] seems that gcompris uses a deprecated function

zezinho lists.jjorge at free.fr
Wed Dec 7 15:23:49 UTC 2011


For upstream information, in the Mageia distribution, devel branch, the build of gcompris fails because of a deprecated call.
error: 'RsvgSizeFunc' is deprecated [-Werror=deprecated-declarations]
May we hope for a quick fix?
José


LOG follows :

make[4]: Entering directory `/home/iurt/rpm/BUILD/gcompris-11.09/src/algebra_by-activity'
sed -e "s/\(<\{1\}\/*\)_/\1/g" algebra_by.xml.in > algebra_by.xml
  CC     algebra.lo
In file included from ../../src/goocanvas/src/goocanvassvg.h:12:0,
                 from ../../src/goocanvas/src/goocanvas.h:22,
                 from ../../src/gcompris/gcompris.h:26,
                 from algebra.c:22:
/usr/include/librsvg-2.0/librsvg/rsvg.h:210:37: error: 'RsvgSizeFunc' is deprecated [-Werror=deprecated-declarations]
algebra.c: In function 'start_board':
algebra.c:210:7: error: 'g_strncasecmp' is deprecated (declared at /usr/include/glib-2.0/glib/gstrfuncs.h:175) [-Werror=deprecated-declarations]
algebra.c:215:7: error: 'g_strncasecmp' is deprecated (declared at /usr/include/glib-2.0/glib/gstrfuncs.h:175) [-Werror=deprecated-declarations]
algebra.c:220:7: error: 'g_strncasecmp' is deprecated (declared at /usr/include/glib-2.0/glib/gstrfuncs.h:175) [-Werror=deprecated-declarations]
algebra.c:225:7: error: 'g_strncasecmp' is deprecated (declared at /usr/include/glib-2.0/glib/gstrfuncs.h:175) [-Werror=deprecated-declarations]
algebra.c: In function 'is_our_board':
algebra.c:371:7: error: 'g_strcasecmp' is deprecated (declared at /usr/include/glib-2.0/glib/gstrfuncs.h:172) [-Werror=deprecated-declarations]
cc1: all warnings being treated as errors



More information about the Gcompris-devel mailing list