error when compiling guile-gnome-platform against gcc-4.6

David Pirotte <[email protected]> Sun, 26 Jun 2011 13:24:12 -0300
Newsgroups gmane.lisp.guile.gtk
Message-ID <20110626132412.6b4cf5f0@rascar>
Hello,

Trying to compile guile-gnome-platform against gcc-4.6 gives me the following error
messages.

Cheers,
David

;; -- 

Making all in corba
make[2]: Entering directory `/usr/local/src/guile-gnome/git-clone/corba'
Making all in gnome
make[3]: Entering directory `/usr/local/src/guile-gnome/git-clone/corba/gnome'
Making all in corba
make[4]: Entering directory `/usr/local/src/guile-gnome/git-clone/corba/gnome/corba'
make  all-am
make[5]: Entering directory `/usr/local/src/guile-gnome/git-clone/corba/gnome/corba'
/bin/bash ../../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../..    -pthread -DORBIT2=1 -I/usr/include/libbonobo-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/bonobo-activation-2.0   -I. -I. -Wall -Werror -g -I../../../glib/gnome/gobject -I../../../glib/gnome/gobject -pthread -I/usr/local/include/guile/2.0   -DORBIT2_STUBS_API -g -O2 -MT libguile_gnome_corba_2_la-guile-gnome-corba.lo -MD -MP -MF .deps/libguile_gnome_corba_2_la-guile-gnome-corba.Tpo -c -o libguile_gnome_corba_2_la-guile-gnome-corba.lo `test -f 'guile-gnome-corba.c' || echo './'`guile-gnome-corba.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../.. -pthread -DORBIT2=1 -I/usr/include/libbonobo-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/bonobo-activation-2.0 -I. -I. -Wall -Werror -g -I../../../glib/gnome/gobject -I../../../glib/gnome/gobject -pthread -I/usr/local/include/guile/2.0 -DORBIT2_STUBS_API -g -O2 -MT libguile_gnome_corba_2_la-guile-gnome-corba.lo -MD -MP -MF .deps/libguile_gnome_corba_2_la-guile-gnome-corba.Tpo -c guile-gnome-corba.c  -fPIC -DPIC -o .libs/libguile_gnome_corba_2_la-guile-gnome-corba.o
guile-gnome-corba.c: In function 'scm_corba_servant_to_reference':
guile-gnome-corba.c:55:5: error: the comparison will always evaluate as 'true' for the address of 'ev' will never be NULL [-Werror=address]
guile-gnome-corba.c: In function 'scm_bonobo_get_object':
guile-gnome-corba.c:82:9: error: the comparison will always evaluate as 'true' for the address of 'ev' will never be NULL [-Werror=address]
guile-gnome-corba.c: In function 'scm_bonobo_object_query_interface':
guile-gnome-corba.c:109:9: error: the comparison will always evaluate as 'true' for the address of 'ev' will never be NULL [-Werror=address]
cc1: all warnings being treated as errors

make[5]: *** [libguile_gnome_corba_2_la-guile-gnome-corba.lo] Error 1
make[5]: Leaving directory `/usr/local/src/guile-gnome/git-clone/corba/gnome/corba'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/usr/local/src/guile-gnome/git-clone/corba/gnome/corba'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/src/guile-gnome/git-clone/corba/gnome'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/guile-gnome/git-clone/corba'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/guile-gnome/git-clone'
make: *** [all] Error 2

_______________________________________________
guile-gtk-general mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/guile-gtk-general
config.log.gz (application/x-gzip, 8.8 KB) - not displayed