[Nautilus-list] More eel build errors



The build of eel fails with:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Eel\" -I..
-I/usr/include/gconf/1 -I/usr/include -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/X11R6/include
-I/usr/include -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I/usr/include/gnome-xml
-I/usr/include/gnome-vfs-1.0 -I/usr/lib/gnome-vfs-1.0/include
-I/usr/include/gconf/1 -I/usr/include -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/X11R6/include
-I/usr/include -I/usr/include/freetype2 -DDATADIR=\"/usr/share\"
-DEEL_DATADIR=\"/usr/share/eel\" -DSOURCE_DATADIR=\"../data\"
-DGNOMELOCALEDIR=\"/usr/share/locale\" -Wno-sign-compare -Wsign-promo
-Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Werror -g
-O2 -Wp,-MD,.deps/eel-background.pp -c eel-background.c
 -fPIC -DPIC -o eel-background.lo
cc1: warnings being treated as errors
In file included from /usr/include/string.h:360,
                 from eel-string.h:29,
                 from eel-background.c:42:
/usr/include/bits/string2.h: In function `__strcpy_small':
/usr/include/bits/string2.h:418: warning: pointer of type `void *' used
in arithmetic
/usr/include/bits/string2.h:426: warning: pointer of type `void *' used
in arithmetic
/usr/include/bits/string2.h:431: warning: pointer of type `void *' used
in arithmetic
/usr/include/bits/string2.h:436: warning: pointer of type `void *' used
in arithmetic
/usr/include/bits/string2.h:438: warning: pointer of type `void *' used
in arithmetic
/usr/include/bits/string2.h:443: warning: pointer of type `void *' used
in arithmetic
make[2]: *** [eel-background.lo] Error 1
make[2]: Leaving directory `/home/evandro/tmp/eel/eel'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/evandro/tmp/eel'
make: *** [all-recursive-am] Error 2


The last change in the ChangeLog is (I've just updated it from GNOME's
anonymous CVS server):

2001-09-17  Darin Adler  <darin bentspoon com>

* eel/eel-background.c: (eel_background_is_dark): Make this work
	with background images that are transparent or partly-transparent.
	It turns out this was another part of the problem with the default
	Nautilus theme's text color.
	
	* eel/eel-gdk-pixbuf-extensions.h:
	* eel/eel-gdk-pixbuf-extensions.c:
	(eel_gdk_pixbuf_average_value_argb): Change algorithm so
	that it handles the alpha channel too. Also made it use 64-bit
	arithmetic for simplicity -- hope that doesn't make it too slow.
	Also changed it to use an argb value instead of a GdkColor.
	(eel_gdk_pixbuf_average_value): Cover for compatibility with old
	Nautilus.
	(check_average_value): Fixed bugs in the code to test alpha.
	(eel_self_check_gdk_pixbuf_extensions): Changed test to include
	alpha checks -- still doesn't do tests of all the interesting
	alpha channel cases.



Thanks,

--
Evandro






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]