Re: [Qemu-devel] clang warnings too noisy

2015-03-10 Thread Stefan Hajnoczi
On Fri, Mar 6, 2015 at 11:47 PM, Peter Maydell wrote: > On 7 March 2015 at 04:06, Stefan Hajnoczi wrote: >> Is anyone working on making QEMU build cleanly under clang? Under gcc >> people regularly submit patches to keep the build clean (e.g. recent >> gcc 5 fixes). > > Yes, I have been working

Re: [Qemu-devel] clang warnings too noisy

2015-03-07 Thread Stefan Weil
Am 07.03.2015 um 12:14 schrieb Paolo Bonzini: On 07/03/2015 00:47, Peter Maydell wrote: 1. It complains about glib headers: In file included from /home/stefanha/qemu/include/net/eth.h:32: In file included from /home/stefanha/qemu/include/qemu/iov.h:17: In file included from /home/stefanha/qemu/i

Re: [Qemu-devel] clang warnings too noisy

2015-03-07 Thread Paolo Bonzini
On 07/03/2015 00:47, Peter Maydell wrote: > > 1. It complains about glib headers: > > In file included from /home/stefanha/qemu/include/net/eth.h:32: > > In file included from /home/stefanha/qemu/include/qemu/iov.h:17: > > In file included from /home/stefanha/qemu/include/qemu-common.h:43: > > In

Re: [Qemu-devel] clang warnings too noisy

2015-03-07 Thread Stefan Weil
Am 07.03.2015 um 10:04 schrieb Stefan Weil: Am 06.03.2015 um 20:06 schrieb Stefan Hajnoczi: Hi Peter, You are rejecting pull requests that produce warnings under clang. clang 3.5.0 on Fedora 21 produces so much noise that it's extremely tedious and error-prone to try finding relevant new warnin

Re: [Qemu-devel] clang warnings too noisy

2015-03-07 Thread Stefan Weil
Am 06.03.2015 um 20:06 schrieb Stefan Hajnoczi: Hi Peter, You are rejecting pull requests that produce warnings under clang. clang 3.5.0 on Fedora 21 produces so much noise that it's extremely tedious and error-prone to try finding relevant new warnings. Are you using a different clang version

Re: [Qemu-devel] clang warnings too noisy

2015-03-06 Thread Peter Maydell
On 7 March 2015 at 04:06, Stefan Hajnoczi wrote: > Hi Peter, > You are rejecting pull requests that produce warnings under clang. > > clang 3.5.0 on Fedora 21 produces so much noise that it's extremely > tedious and error-prone to try finding relevant new warnings. > > Are you using a different cl

[Qemu-devel] clang warnings too noisy

2015-03-06 Thread Stefan Hajnoczi
Hi Peter, You are rejecting pull requests that produce warnings under clang. clang 3.5.0 on Fedora 21 produces so much noise that it's extremely tedious and error-prone to try finding relevant new warnings. Are you using a different clang version which produces fewer warnings? Is anyone working