Re: [Qemu-devel] [PATCH build-fix] kvm fix compilation with GCC 4.3.4

2014-10-10 Thread Peter Maydell
On 10 October 2014 11:23, Paolo Bonzini wrote: > As usual, SLES11's GCC complained about double typedefs: > > /home/cohuck/git/qemu/kvm-all.c:110: error: redefinition of typedef ‘KVMState’ > /home/cohuck/git/qemu/include/sysemu/kvm.h:161: error: previous declaration > of ‘KVMState’ was here > > R

Re: [Qemu-devel] [PATCH build-fix] kvm fix compilation with GCC 4.3.4

2014-10-10 Thread Christian Borntraeger
Am 10.10.2014 12:23, schrieb Paolo Bonzini: > As usual, SLES11's GCC complained about double typedefs: RHEL 6.5 gcc 4.4.7 complains as well. :-) This fix helps there as well. > > /home/cohuck/git/qemu/kvm-all.c:110: error: redefinition of typedef ‘KVMState’ > /home/cohuck/git/qemu/include/sysem

[Qemu-devel] [PATCH build-fix] kvm fix compilation with GCC 4.3.4

2014-10-10 Thread Paolo Bonzini
As usual, SLES11's GCC complained about double typedefs: /home/cohuck/git/qemu/kvm-all.c:110: error: redefinition of typedef ‘KVMState’ /home/cohuck/git/qemu/include/sysemu/kvm.h:161: error: previous declaration of ‘KVMState’ was here Reported-by: Cornelia Huck Tested-by: Cornelia Huck Signed-