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

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

To: Hans-Christian Armingeon <mog.johnny@xxxxxxx>
Subject: Re: [Xen-devel] xen-unstable hg tree doesn't compile: io_apic.c:127: warning: ‘prev’ is used uninitialized in this function
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Mon, 10 Apr 2006 14:53:45 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 10 Apr 2006 06:59:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200604081035.10463.mog.johnny@xxxxxxx>
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>
References: <200604081035.10463.mog.johnny@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 8 Apr 2006, at 09:35, Hans-Christian Armingeon wrote:

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

This bug was fixed over the weekend. If you pull current tip then it should build okay.

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

That wouldn't fix the actual bug, would it. :-)

 -- Keir


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

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