From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LSdwN-00051c-3n for qemu-devel@nongnu.org; Thu, 29 Jan 2009 15:56:47 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LSdwL-00050H-EN for qemu-devel@nongnu.org; Thu, 29 Jan 2009 15:56:46 -0500 Received: from [199.232.76.173] (port=48055 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LSdwL-0004zy-59 for qemu-devel@nongnu.org; Thu, 29 Jan 2009 15:56:45 -0500 Received: from mail-ew0-f15.google.com ([209.85.219.15]:43788) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LSdwK-0004Rl-Ne for qemu-devel@nongnu.org; Thu, 29 Jan 2009 15:56:44 -0500 Received: by ewy8 with SMTP id 8so241863ewy.10 for ; Thu, 29 Jan 2009 12:56:39 -0800 (PST) Message-ID: <498217F7.80004@codemonkey.ws> Date: Thu, 29 Jan 2009 14:56:23 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: Mingw GCC not recognising printf format "%I64u" References: <1987955410-BeMail@laptop> <4981B0C9.8010403@codemonkey.ws> <20090129135523.GA7441@shareable.org> <4981C49E.5070207@codemonkey.ws> <20090129184234.GA13169@shareable.org> <49820879.5080209@codemonkey.ws> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; 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: > Anthony Liguori wrote: >> Okay, I wrote a small program that included inttypes.h. PRIu64 was >> defined as I64u. > > This bug should be fixed in GCC-4.4.0 (and backported to 3.4.2 MinGW's > stable) However the latest version ported to MinGW is still 4.3.0. > Mind you I64u in the format line still gives the correct result, only > this annoying warning is the problem. Other suggested format options > silenced the warning, but also truncated the result :( Okay, then we can just ignore it for now. Regards, Anthony Liguori > #include > #include > //#define PRIu64 "I64u" > int main() { > unsigned __int64 x = 1122334455667788LL; > printf("Number: %"PRIu64"\n", x); > return 0; > } > > >