From: Yaniv Kaul <ykaul@redhat.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Failure to compile latest git (target-i386/kvm.c:953:29: error: variable ‘fop’ set but not used)
Date: Thu, 21 Apr 2011 17:10:12 +0300 [thread overview]
Message-ID: <4DB03AC4.1070907@redhat.com> (raw)
Fedora 15beta/x64, latest git:
[ykaul@ykaul qemu]$ make
CC x86_64-softmmu/kvm.o
/home/ykaul/qemu/target-i386/kvm.c: In function ‘kvm_get_xsave’:
/home/ykaul/qemu/target-i386/kvm.c:953:29: error: variable ‘fop’ set but
not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
make[1]: *** [kvm.o] Error 1
make: *** [subdir-x86_64-softmmu] Error 2
[ykaul@ykaul qemu]$ gcc --version
gcc (GCC) 4.6.0 20110419 (Red Hat 4.6.0-5)
- Does happen even though I've used --target-list=x86_64-softmmu
- Doesn't happen with --disable-kvm in ./configure.
Then I'm getting:
/home/ykaul/qemu/tcg/tcg.c: In function ‘tcg_gen_callN’:
/home/ykaul/qemu/tcg/tcg.c:589:9: error: variable ‘call_type’ set but
not used [-Werror=unused-but-set-variable]
next reply other threads:[~2011-04-21 14:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-21 14:10 Yaniv Kaul [this message]
2011-04-21 15:12 ` [Qemu-devel] Failure to compile latest git (target-i386/kvm.c:953:29: error: variable ‘fop’ set but not used) Stefan Hajnoczi
2011-04-21 15:43 ` Jan Kiszka
2011-04-21 15:43 ` [Qemu-devel] " Jan Kiszka
2011-04-24 7:10 ` Avi Kivity
2011-04-24 7:10 ` [Qemu-devel] " Avi Kivity
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=4DB03AC4.1070907@redhat.com \
--to=ykaul@redhat.com \
--cc=qemu-devel@nongnu.org \
/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.