Re: [Qemu-devel] Redundant redeclaration of 'gmtime_r' with mingw64

2015-09-22 Thread Daniel P. Berrange
On Tue, Sep 22, 2015 at 04:11:34PM +0300, Michael S. Tsirkin wrote: > On Fri, Jun 05, 2015 at 03:38:21PM +0100, Stefan Hajnoczi wrote: > > Hi Stefan, > > I get the following compiler warning in Fedora 22 > > (mingw32-headers-4.0.2-1.fc22): > > > > In file included from qemu/include/qemu-common.h:4

Re: [Qemu-devel] Redundant redeclaration of 'gmtime_r' with mingw64

2015-09-22 Thread Michael S. Tsirkin
On Fri, Jun 05, 2015 at 03:38:21PM +0100, Stefan Hajnoczi wrote: > Hi Stefan, > I get the following compiler warning in Fedora 22 > (mingw32-headers-4.0.2-1.fc22): > > In file included from qemu/include/qemu-common.h:47:0, > from qemu/include/qemu/timer.h:5, > fro

Re: [Qemu-devel] Redundant redeclaration of 'gmtime_r' with mingw64

2015-06-08 Thread Stefan Weil
Am 08.06.2015 um 11:21 schrieb Stefan Hajnoczi: On Fri, Jun 05, 2015 at 07:18:53PM +0200, Stefan Weil wrote: The version provided by Debian Jessie (mingw-w64 3.2.0) still uses macros to implement those functions - that's why I don't see that compiler warnings. I'd prefer a solution which condi

Re: [Qemu-devel] Redundant redeclaration of 'gmtime_r' with mingw64

2015-06-08 Thread Stefan Hajnoczi
On Fri, Jun 05, 2015 at 07:18:53PM +0200, Stefan Weil wrote: > Am 05.06.2015 um 16:38 schrieb Stefan Hajnoczi: > >Hi Stefan, > >I get the following compiler warning in Fedora 22 > >(mingw32-headers-4.0.2-1.fc22): > > > >In file included from qemu/include/qemu-common.h:47:0, > > fro

Re: [Qemu-devel] Redundant redeclaration of 'gmtime_r' with mingw64

2015-06-05 Thread Stefan Weil
Am 05.06.2015 um 16:38 schrieb Stefan Hajnoczi: Hi Stefan, I get the following compiler warning in Fedora 22 (mingw32-headers-4.0.2-1.fc22): In file included from qemu/include/qemu-common.h:47:0, from qemu/include/qemu/timer.h:5, from qemu/include/sysemu/sysem

[Qemu-devel] Redundant redeclaration of 'gmtime_r' with mingw64

2015-06-05 Thread Stefan Hajnoczi
Hi Stefan, I get the following compiler warning in Fedora 22 (mingw32-headers-4.0.2-1.fc22): In file included from qemu/include/qemu-common.h:47:0, from qemu/include/qemu/timer.h:5, from qemu/include/sysemu/sysemu.h:8, from os-win32.c:34: qemu/inc