Re: [Qemu-devel] [PATCH] w32: Always use standard instead of native format strings

2012-09-24 Thread Stefan Weil
Am 24.09.2012 21:28, schrieb Eric Blake: On 08/22/2012 01:42 PM, Stefan Weil wrote: GLib 2.0 include files use __printf__ for the format attribute which resolves to native format strings on w32 hosts. QEMU wants standard format strings instead of native format strings, so we simply change any d

Re: [Qemu-devel] [PATCH] w32: Always use standard instead of native format strings

2012-09-24 Thread Eric Blake
On 08/22/2012 01:42 PM, Stefan Weil wrote: > GLib 2.0 include files use __printf__ for the format attribute > which resolves to native format strings on w32 hosts. > > QEMU wants standard format strings instead of native format > strings, so we simply change any declaration with __printf__ > to us

Re: [Qemu-devel] [PATCH] w32: Always use standard instead of native format strings

2012-09-22 Thread Stefan Hajnoczi
On Wed, Aug 22, 2012 at 09:42:32PM +0200, Stefan Weil wrote: > GLib 2.0 include files use __printf__ for the format attribute > which resolves to native format strings on w32 hosts. > > QEMU wants standard format strings instead of native format > strings, so we simply change any declaration with

[Qemu-devel] [PATCH] w32: Always use standard instead of native format strings

2012-08-22 Thread Stefan Weil
GLib 2.0 include files use __printf__ for the format attribute which resolves to native format strings on w32 hosts. QEMU wants standard format strings instead of native format strings, so we simply change any declaration with __printf__ to use __gnu_printf__. This works because all basic printf