compile error with gcc 4



I got the following errors compiling CVS nautilus with gcc4 is it a bug?

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../cut-n-paste-code -pthread -DORBIT2=1 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr//include/eel-2 -I/usr//include/gconf/2 -I/usr//include/gtk-2.0 -I/usr//include/glib-2.0 -I/usr//lib/glib-2.0/include -I/usr//include/gnome-vfs-2.0 -I/usr//lib/gnome-vfs-2.0/include -I/usr//include/libart-2.0 -I/usr//include/libgnome-2.0 -I/usr//include/libgnomeui-2.0 -I/usr//include/libxml2 -I/usr//include/gail-1.0 -I/usr//include/libglade-2.0 -I/usr//include/orbit-2.0 -I/usr//include/bonobo-activation-2.0 -I/usr//include/libbonobo-2.0 -I/usr//lib/gtk-2.0/include -I/usr/X11R6/include -I/usr//include/atk-1.0 -I/usr//include/freetype2 -I/usr//include -I/usr//include/cairo -I/usr//include/pango-1.0 -I/usr/X11R6//include -I/usr/include/libpng12 -I/usr//include/libgnomecanvas-2.0 -I/usr//include/libbonoboui-2.0 -I/usr//include/librsvg-2 -I/usr//include/gnome-desktop-2.0 -I/usr//include/startup-notification-1.0 -I/usr//include/pango-1.0 -I/usr/X11R6/include -I/usr//include/glib-2.0 -I/usr//lib/glib-2.0/include -DDATADIR=\"/usr//share\" -DSYSCONFDIR=\"/usr//etc\" -DNAUTILUS_DATADIR=\"/usr//share/nautilus\" -DNAUTILUS_EXTENSIONDIR=\"/usr//lib/nautilus/extensions-1.0\" -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Werror -g -O2 -Wno-strict-aliasing -Wno-sign-compare -MT nautilus-customization-data.lo -MD -MP -MF .deps/nautilus-customization-data.Tpo -c nautilus-customization-data.c -fPIC -DPIC -o .libs/nautilus-customization-data.o
cc1: warnings being treated as errors
nautilus-customization-data.c: In function 'load_name_map_hash_table':
nautilus-customization-data.c:451: warning: pointer targets in assignment differ in signedness nautilus-customization-data.c:452: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness nautilus-customization-data.c:452: warning: pointer targets in assignment differ in signedness
make[2]: *** [nautilus-customization-data.lo] 错误 1
make[2]: Leaving directory `/home/jizezhao/gnome/Dependance/tmp/gtkbase/nautilus/libnautilus-private'

_________________________________________________________________
免费下载 MSN Explorer: http://explorer.msn.com/lccn



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