Problems building from CVS repository.



Hi,

 I cannot build Balsa from the CVS repository 31 DEC 2000, with the default
configure settings.  However, I can build it when I run configure with the
--disable-more-warnings flag.  This seems unsatisfactory for testing
builds.

 The problem occurs due to a clash between the compiler warning flags:
-Werror and -Wpointer-arithmetic and an include file under linux
/usr/include/bits/strings2.h  which appears to implement macros that
perform pointer arithmetic on void pointers.  Please find the make output
at the end of this email.

 I am using: 
	* gcc-2.95.2
	* RedHat Linux 7.0

 I am not sure where this problem actually belongs, and I am interested if
any one else has the same problem and what are the suggested solutions.

Marc

---- BEGIN MAKE OUTPUT ----

Making all in libbalsa
make[2]: Entering directory `/usr/local/home/mbutl/gnomedev/balsa/libbalsa'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../libmutt
	-I/usr/include -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/lib/glib/include -I/usr/X11R6/include  -I/usr/lib/glib/include
-I/usr/X11R6/include  -g -O2 -I/usr/lib/glib/include -D_REENTRANT        
-Wall -Wno-uninitialized         -Wchar-subscripts -Wmissing-declarations
-Wmissing-prototypes         -Wnested-externs -Wpointer-arith        
-Wno-sign-compare -Wsign-promo         -Werror -c message.c
cc1: warnings being treated as errors
In file included from /usr/include/string.h:365,
                 from /usr/include/libgnomeui/gnome-mdi-session.h:10,
                 from /usr/include/libgnomeui/libgnomeui.h:99,
                 from /usr/include/gnome.h:17,
                 from libbalsa_private.h:23,
                 from message.c:32:
/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]: *** [message.o] Error 1
make[2]: Leaving directory `/usr/local/home/mbutl/gnomedev/balsa/libbalsa'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/home/mbutl/gnomedev/balsa'
make: *** [all-recursive-am] Error 2

---- END MAKE OUTPUT ----

-- 
"I am Jack's complete lack of suprise."
 - Narrator (Edward Norton), Fight Club




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