From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hans-Christian Armingeon Subject: xen-unstable hg tree doesn't compile: io_apic.c:127: warning: =?utf-8?q?=E2=80=98prev=E2=80=99_is_used_uninitialized_i?= =?utf-8?q?n_this?= function Date: Sat, 8 Apr 2006 10:35:09 +0200 Message-ID: <200604081035.10463.mog.johnny@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hi, the current hg tree doesn't compile on x86. gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=3Di686 -Wall -Wstrict-pro= totypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -f= no-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-floa= t -g -D__XEN__ -c io_apic.c -o io_apic.o cc1: warnings being treated as errors io_apic.c: In function =E2=80=98ioapic_guest_write=E2=80=99: io_apic.c:127: warning: =E2=80=98prev=E2=80=99 is used uninitialized in thi= s 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/buil= t_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