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-devel

[Xen-devel] xen-unstable hg tree doesn't compile: io_apic.c:127: warning

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] xen-unstable hg tree doesn't compile: io_apic.c:127: warning: ‘prev’ is used uninitialized in this function
From: Hans-Christian Armingeon <mog.johnny@xxxxxxx>
Date: Sat, 8 Apr 2006 10:35:09 +0200
Delivery-date: Mon, 10 Apr 2006 06:46:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.1
Hi,

the current hg tree doesn't compile on x86.

gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall 
-Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin 
-fno-common -fno-strict-aliasing -iwithprefix include -Werror 
-Wno-pointer-arith -pipe 
-I/usr/src/xen/xen-unstable.hg-3.0-20060408.1/xen/include 
-I/usr/src/xen/xen-unstable.hg-3.0-20060408.1/xen/include/asm-x86/mach-generic 
-I/usr/src/xen/xen-unstable.hg-3.0-20060408.1/xen/include/asm-x86/mach-default 
-msoft-float -g -D__XEN__ -c io_apic.c -o io_apic.o
cc1: warnings being treated as errors
io_apic.c: In function ‘ioapic_guest_write’:
io_apic.c:127: warning: ‘prev’ is used uninitialized in this function
make[5]: *** [io_apic.o] Error 1
make[5]: Leaving directory 
`/usr/src/xen/xen-unstable.hg-3.0-20060408.1/xen/arch/x86'
make[4]: *** 
[/usr/src/xen/xen-unstable.hg-3.0-20060408.1/xen/arch/x86/built_in.o] Error 2
make[4]: Leaving directory 
`/usr/src/xen/xen-unstable.hg-3.0-20060408.1/xen/arch/x86'
make[3]: *** [/usr/src/xen/xen-unstable.hg-3.0-20060408.1/xen/xen] Error 2
make[3]: Leaving directory `/usr/src/xen/xen-unstable.hg-3.0-20060408.1/xen'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/usr/src/xen/xen-unstable.hg-3.0-20060408.1/xen'
make[1]: *** [install-xen] Error 2
make[1]: Leaving directory `/usr/src/xen/xen-unstable.hg-3.0-20060408.1'
make: *** [build-stamp] Error 2

I know, this is caused by the Werror flag. Can somebody remove this?

Thanks in advance,

Johnny

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

<Prev in Thread] Current Thread [Next in Thread>