qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Silence half of warnings in MinGW


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH] Silence half of warnings in MinGW
Date: Wed, 28 Jan 2009 15:50:29 -0600
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

Consul wrote:
This patch suppresses a lot of mingw warnings like
qemu-img.c:288: warning: format '%I64u' expects type 'unsigned int', but argument 2 has type 'uint64_t'

I'd rather see the warning fixed (by switching to PRIu64) than to have the warnings disabled.

Regards,

Anthony Liguori

signed-off-by: Alex Ivanov <address@hidden>

--- configure   (revision 6466)
+++ configure   (working copy)
@@ -573,6 +573,7 @@
 if test "$mingw32" = "yes" ; then
     linux="no"
     EXESUF=".exe"
+    CFLAGS+=" -Wno-format"
     oss="no"
     linux_user="no"
     bsd_user="no"








reply via email to

[Prev in Thread] Current Thread [Next in Thread]