Re: [Qemu-devel] [PATCH] disas/libvixl: Suppress gcc 4.6.3 sign-compare warnings

2016-01-12 Thread Peter Maydell
On 12 January 2016 at 17:36, Peter Maydell wrote: > On 12 January 2016 at 16:35, Alex Bennée wrote: >> >> Peter Maydell writes: >> >>> The VIXL code includes some equality comparisons between signed >>> and unsigned types. Modern gcc and clang do not complain about >>> these, but older versions

Re: [Qemu-devel] [PATCH] disas/libvixl: Suppress gcc 4.6.3 sign-compare warnings

2016-01-12 Thread Peter Maydell
On 12 January 2016 at 16:35, Alex Bennée wrote: > > Peter Maydell writes: > >> The VIXL code includes some equality comparisons between signed >> and unsigned types. Modern gcc and clang do not complain about >> these, but older versions of gcc such as gcc 4.6.3 do. Since >> libvixl is an upstrea

Re: [Qemu-devel] [PATCH] disas/libvixl: Suppress gcc 4.6.3 sign-compare warnings

2016-01-12 Thread Alex Bennée
Peter Maydell writes: > The VIXL code includes some equality comparisons between signed > and unsigned types. Modern gcc and clang do not complain about > these, but older versions of gcc such as gcc 4.6.3 do. Since > libvixl is an upstream library, the simplest approach is to > suppress the war

[Qemu-devel] [PATCH] disas/libvixl: Suppress gcc 4.6.3 sign-compare warnings

2016-01-12 Thread Peter Maydell
The VIXL code includes some equality comparisons between signed and unsigned types. Modern gcc and clang do not complain about these, but older versions of gcc such as gcc 4.6.3 do. Since libvixl is an upstream library, the simplest approach is to suppress the warnings by applying -Wno-sign-compare