Compile error on latest cvs




Hi there, people.

While trying to compile the latest cvs tree (last entry by PeterB,  
timestamp 2003-12-08 22:32), I get this:

gcc -DG_DISABLE_DEPRECATED          -DGTK_DISABLE_DEPRECATED        - 
DGNOME_DISABLE_DEPRECATED -DGNOMELOCALEDIR=\""/usr/share/locale"\"          
-I.. -I.. -I../libbalsa         -DORBIT2=1 -pthread -I/usr/include/glib- 
2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libgnome-2.0 -I/usr/ 
include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/ 
usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/ 
include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/ 
include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart- 
2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/pango-1.0 -I/usr/ 
include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/ 
usr/X11R6/include -I/usr/include/libxml2 -I/usr/include/gnome-vfs-module- 
2.0 -I/usr/include/gtkhtml-2.0   -I/usr/include/libgnomeprint-2.2 -I/usr/ 
include/libart-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include - 
I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/ 
libgnomeprintui-2.2 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/ 
freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/ 
include/atk-1.0 -I/usr/X11R6/include   -I/usr/include -I/usr/include - 
Werror -Wall    -g -O2 -Wsign-compare -Wpointer-arith -Wnested-externs - 
Wchar-subscripts -Wuninitialized -Wmissing-prototypes -Wreturn-type -c  
message-window.c
message-window.c: In function `mw_destroy_window':
message-window.c:469: warning: control reaches end of non-void function
make[2]: *** [message-window.o] Error 1
make[2]: Leaving directory `/usr/local/src/cvs/gnome/balsa/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/cvs/gnome/balsa'
make: *** [all-recursive-am] Error 2

Gcc is 3.3.1, as shipped with Mandrake 9.2. The attached patchlet allows  
me to compile and run with no apparent trouble (I'm actually running with  
it now).


Cheers,


		Nuno

--- balsa/src/message-window.c.orig	2003-12-10 17:36:05.351381216 +0000
+++ balsa/src/message-window.c	2003-12-10 17:36:23.792577728 +0000
@@ -466,6 +466,7 @@
     g_object_unref(mw->window);
     gtk_widget_destroy(mw->window);
     gdk_threads_leave();
+    return TRUE;
 }
 
 static void


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