From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LSQNw-0003z8-1I for qemu-devel@nongnu.org; Thu, 29 Jan 2009 01:28:20 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LSQNu-0003yh-FU for qemu-devel@nongnu.org; Thu, 29 Jan 2009 01:28:19 -0500 Received: from [199.232.76.173] (port=42405 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LSQNu-0003yX-8T for qemu-devel@nongnu.org; Thu, 29 Jan 2009 01:28:18 -0500 Received: from mail2.shareable.org ([80.68.89.115]:52541) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LSQNt-0001kW-Sh for qemu-devel@nongnu.org; Thu, 29 Jan 2009 01:28:18 -0500 Received: from jamie by mail2.shareable.org with local (Exim 4.63) (envelope-from ) id 1LSQNp-0000f0-IU for qemu-devel@nongnu.org; Thu, 29 Jan 2009 06:28:13 +0000 Date: Thu, 29 Jan 2009 06:28:12 +0000 From: Jamie Lokier Subject: Re: [Qemu-devel] Mingw GCC not recognising printf format "%I64u" Message-ID: <20090129062812.GA2524@shareable.org> References: <4980D325.5070008@codemonkey.ws> <20090129062154.GE19270@shareable.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090129062154.GE19270@shareable.org> 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 Jamie Lokier wrote: > 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. mingw-users is a closed list; it rejects the message. Never mind. -- Jamie