Re: [Qemu-devel] [PATCH v3] target-arm: fix build with gcc 4.8.2

2013-12-23 Thread Peter Maydell
On 23 December 2013 14:52, Michael S. Tsirkin wrote: > commit 5ce4f35781028ce1aee3341e6002f925fdc7aaf3 > "target-arm: A64: add set_pc cpu method" > > introduces an array aarch64_cpus which is zero > size if this code is built without CONFIG_USER_ONLY. > In particular an attempt to iterate over

Re: [Qemu-devel] [PATCH v3] target-arm: fix build with gcc 4.8.2

2013-12-23 Thread Stefan Weil
Am 23.12.2013 15:52, schrieb Michael S. Tsirkin: > commit 5ce4f35781028ce1aee3341e6002f925fdc7aaf3 > "target-arm: A64: add set_pc cpu method" > > introduces an array aarch64_cpus which is zero > size if this code is built without CONFIG_USER_ONLY. > In particular an attempt to iterate over this

[Qemu-devel] [PATCH v3] target-arm: fix build with gcc 4.8.2

2013-12-23 Thread Michael S. Tsirkin
commit 5ce4f35781028ce1aee3341e6002f925fdc7aaf3 "target-arm: A64: add set_pc cpu method" introduces an array aarch64_cpus which is zero size if this code is built without CONFIG_USER_ONLY. In particular an attempt to iterate over this array produces a warning under gcc 4.8.2: CCaarch64-s