On Thu, Apr 21, 2011 at 3:10 PM, Yaniv Kaul <yk...@redhat.com> wrote: > 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]
Hi Yaniv, Do you want to take a stab at fixing these warnings and sending patches? http://wiki.qemu.org/Contribute/SubmitAPatch If these warnings are preventing you from using QEMU, try: $ ./configure --disable-werror Stefan