All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hans-Christian Armingeon <mog.johnny@gmx.net>
To: xen-devel@lists.xensource.com
Subject: xen-unstable hg tree doesn't compile: io_apic.c:127: warning: ‘prev’ is used uninitialized in this function
Date: Sat, 8 Apr 2006 10:35:09 +0200	[thread overview]
Message-ID: <200604081035.10463.mog.johnny@gmx.net> (raw)

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

             reply	other threads:[~2006-04-08  8:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-08  8:35 Hans-Christian Armingeon [this message]
2006-04-10 13:53 ` xen-unstable hg tree doesn't compile: io_apic.c:127: warning: ‘prev’ is used uninitialized in this function Keir Fraser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200604081035.10463.mog.johnny@gmx.net \
    --to=mog.johnny@gmx.net \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.