Re: [libvirt] [PATCH 3/3] m4: Work around MinGW detection of strncpy() usage

2018-07-17 Thread Andrea Bolognani
On Tue, 2018-07-17 at 12:23 +0100, Daniel P. Berrangé wrote: > On Tue, Jul 17, 2018 at 01:09:57PM +0200, Andrea Bolognani wrote: > > With the recent update in Fedora Rawhide, MinGW has > > started freaking out about our use of strncpy(): > > > > In function 'virStrncpy', > > inlined

Re: [libvirt] [PATCH 3/3] m4: Work around MinGW detection of strncpy() usage

2018-07-17 Thread Daniel P . Berrangé
On Tue, Jul 17, 2018 at 01:09:57PM +0200, Andrea Bolognani wrote: > With the recent update in Fedora Rawhide, MinGW has > started freaking out about our use of strncpy(): > > In function 'virStrncpy', > inlined from 'virStrcpy' at ../../src/util/virstring.c:811:12: >

[libvirt] [PATCH 3/3] m4: Work around MinGW detection of strncpy() usage

2018-07-17 Thread Andrea Bolognani
With the recent update in Fedora Rawhide, MinGW has started freaking out about our use of strncpy(): In function 'virStrncpy', inlined from 'virStrcpy' at ../../src/util/virstring.c:811:12: ../../src/util/virstring.c:789:11: error: 'strncpy' output truncated before terminating nul