[gcompris-devel] seems that gcompris uses a deprecated function
Bruno Coudoin
bruno.coudoin at gcompris.net
Mon Dec 12 22:31:38 UTC 2011
Hi,
I just applied several patches from Hans de Goede. He faced the same
issues for Fedora 17. This should solve your problem too.
Bruno.
Le mercredi 07 décembre 2011 à 16:23 +0100, zezinho a écrit :
> 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