Bug#424557: FTBFS with GCC 4.2: C99 inline functions are not supported
Martin Michlmayr
tbm at cyrius.com
Wed May 16 08:50:11 UTC 2007
Package: g-wrap
Version: 1.9.6-3.1
Usertags: ftbfs-gcc-4.2
Your package fails to build with GCC 4.2 that was released a few
days ago. There is a gcc-4.2 package in experimental and I guess
it will show up in unstable soon.
Note sure whether this should be fixed in glib or your package.
> Automatic build of g-wrap_1.9.6-3.1 on em64t by sbuild/amd64 0.53
...
> /bin/sh ../../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../g-wrap -I../../.. -I../../../guile -I/usr/include/glib-1.2 -I/usr/lib/glib/include -g -Wall -O2 -Wall -Wmissing-prototypes -Werror -std=gnu99 -c -o libgw_guile_gw_glib_la-gw-glib.lo `test -f 'gw-glib.c' || echo './'`gw-glib.c
> cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../g-wrap -I../../.. -I../../../guile -I/usr/include/glib-1.2 -I/usr/lib/glib/include -g -Wall -O2 -Wall -Wmissing-prototypes -Werror -std=gnu99 -c gw-glib.c -fPIC -DPIC -o .libs/libgw_guile_gw_glib_la-gw-glib.o
> cc1: warnings being treated as errors
> In file included from gw-glib.c:5:
> /usr/include/glib-1.2/glib.h:1579: warning: C99 inline functions are not supported; using GNU89
> /usr/include/glib-1.2/glib.h:1579: warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute
> /usr/include/glib-1.2/glib.h:1597: warning: C99 inline functions are not supported; using GNU89
> /usr/include/glib-1.2/glib.h:1615: warning: C99 inline functions are not supported; using GNU89
> make[5]: *** [libgw_guile_gw_glib_la-gw-glib.lo] Error 1
> make[5]: Leaving directory `/build/tbm/g-wrap-1.9.6/guile/g-wrap/gw'
> make[4]: *** [all-recursive] Error 1
--
Martin Michlmayr
http://www.cyrius.com/
More information about the pkg-gnome-maintainers
mailing list