From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LSQHo-0001yS-UZ for qemu-devel@nongnu.org; Thu, 29 Jan 2009 01:22:00 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LSQHl-0001y8-Cq for qemu-devel@nongnu.org; Thu, 29 Jan 2009 01:21:59 -0500 Received: from [199.232.76.173] (port=57650 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LSQHl-0001y5-6b for qemu-devel@nongnu.org; Thu, 29 Jan 2009 01:21:57 -0500 Received: from mail2.shareable.org ([80.68.89.115]:34047) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LSQHk-0001HU-Tt for qemu-devel@nongnu.org; Thu, 29 Jan 2009 01:21:57 -0500 Date: Thu, 29 Jan 2009 06:21:55 +0000 From: Jamie Lokier Message-ID: <20090129062154.GE19270@shareable.org> References: <4980D325.5070008@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4980D325.5070008@codemonkey.ws> Subject: [Qemu-devel] Mingw GCC not recognising printf format "%I64u" 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 Cc: mingw-users@lists.sourceforge.net Anthony Liguori wrote: > 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. Since that's in code for Windows, I'd rather see mingw's GCC fixed to recognise %I64u, since that's fine Windows code. Cc'd to mingw-users list for that reason. -- Jamie