Re: [libvirt] Dealing with GCC 6.0

2016-02-24 Thread Eric Blake
On 02/02/2016 03:12 AM, Richard W.M. Jones wrote: > On Mon, Feb 01, 2016 at 03:37:07PM +0100, Martin Kletzander wrote: >> So we recently started compiling with gcc 5 and there's a new thing now >> and we don't build on gcc 6. I know it's just a development build, but >> it finds new things, like:

Re: [libvirt] Dealing with GCC 6.0

2016-02-02 Thread Richard W.M. Jones
On Mon, Feb 01, 2016 at 03:37:07PM +0100, Martin Kletzander wrote: > So we recently started compiling with gcc 5 and there's a new thing now > and we don't build on gcc 6. I know it's just a development build, but > it finds new things, like: > > fdstream.c: In function 'virFDStreamWrite': > fdst

Re: [libvirt] Dealing with GCC 6.0

2016-02-01 Thread Martin Kletzander
On Mon, Feb 01, 2016 at 03:14:04PM -0700, Eric Blake wrote: On 02/01/2016 07:37 AM, Martin Kletzander wrote: So we recently started compiling with gcc 5 and there's a new thing now and we don't build on gcc 6. I know it's just a development build, but it finds new things, like: fdstream.c: In

Re: [libvirt] Dealing with GCC 6.0

2016-02-01 Thread Eric Blake
On 02/01/2016 07:37 AM, Martin Kletzander wrote: > So we recently started compiling with gcc 5 and there's a new thing now > and we don't build on gcc 6. I know it's just a development build, but > it finds new things, like: > > fdstream.c: In function 'virFDStreamWrite': > fdstream.c:390:29: err

[libvirt] Dealing with GCC 6.0

2016-02-01 Thread Martin Kletzander
So we recently started compiling with gcc 5 and there's a new thing now and we don't build on gcc 6. I know it's just a development build, but it finds new things, like: fdstream.c: In function 'virFDStreamWrite': fdstream.c:390:29: error: logical 'or' of equal expressions [-Werror=logical-op]