WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-devel] Re: [Xen-users] gcc 4.0.0 and xen-devel

I am getting gcc 4.0 errors on xen-unstable, x86_64:

(The last changeset on the source that I am using was
ChangeSet 2005/06/10 10:34:30+01:00 kaf24@xxxxxxxxxxxxxxxxxxxx)

gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -Wall -g -pipe -Wp,-
D_FORTIFY_SOURCE=2 -m64 -D_GNU_SOURCE -fPIC -m64 -fPIC -
I../../tools/python/xen/lowlevel/xu -I../../tools/libxc -
I../../tools/xenstore -I../../tools/xcs -Ixen/lowlevel/xs -
I/usr/include/python2.4 -c xen/lowlevel/xs/xs.c -o build/temp.linux-
x86_64-2.4/xen/lowlevel/xs/xs.o -fno-strict-aliasing -Wall -Werror
cc1: warnings being treated as errors
xen/lowlevel/xs/xs.c: In function ‘xspy_read’:
xen/lowlevel/xs/xs.c:96: warning: pointer targets in passing argument 3
of ‘xs_read’ differ in signedness
xen/lowlevel/xs/xs.c: In function ‘xspy_ls’:
xen/lowlevel/xs/xs.c:144: warning: pointer targets in passing argument 3
of ‘xs_directory’ differ in signedness
xen/lowlevel/xs/xs.c: In function ‘xspy_get_permissions’:
xen/lowlevel/xs/xs.c:193: warning: pointer targets in passing argument 3
of ‘xs_get_permissions’ differ in signedness
error: command 'gcc' failed with exit status 1
make[3]: *** [build] Error 1
make[3]: Leaving directory `/tmp/xen-unstable/tools/python'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/tmp/xen-unstable/tools'
make[1]: *** [tools] Error 2
make[1]: Leaving directory `/tmp/xen-unstable'
make: *** [world] Error 2


On Fri, 2005-06-10 at 13:43 +0200, Vincent Hanquez wrote:
> On Thu, Jun 09, 2005 at 02:45:11PM -0300, Flavio Leitner wrote:
> 
> > > does the following patch fix your problems ?
> > 
> > Part of it because there are more places. Thanks!
> > 
> > Well, now it breaks because of warnings.
> 
> Applied thanks.
> please don't forget a Signed-off-by line next time.
> 
-- 
Regards,

David F Barrera
Linux Technology Center
Systems and Technology Group, IBM

"The wisest men follow their own direction. "
                                                        Euripides


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel