From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LSIMa-0002Qx-Ol for qemu-devel@nongnu.org; Wed, 28 Jan 2009 16:54:24 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LSIMZ-0002Ql-IG for qemu-devel@nongnu.org; Wed, 28 Jan 2009 16:54:24 -0500 Received: from [199.232.76.173] (port=49506 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LSIMZ-0002Qi-Ec for qemu-devel@nongnu.org; Wed, 28 Jan 2009 16:54:23 -0500 Received: from mail-ew0-f16.google.com ([209.85.219.16]:45045) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LSIMZ-0005UX-2v for qemu-devel@nongnu.org; Wed, 28 Jan 2009 16:54:23 -0500 Received: by ewy9 with SMTP id 9so1931661ewy.10 for ; Wed, 28 Jan 2009 13:54:22 -0800 (PST) Message-ID: <4980D325.5070008@codemonkey.ws> Date: Wed, 28 Jan 2009 15:50:29 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] Silence half of warnings in MinGW References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 > > --- 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" > > >