From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NaD9z-0007OE-R3 for qemu-devel@nongnu.org; Wed, 27 Jan 2010 14:02:39 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NaD9t-0007IV-I6 for qemu-devel@nongnu.org; Wed, 27 Jan 2010 14:02:38 -0500 Received: from [199.232.76.173] (port=34596 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NaD9s-0007IB-Ny for qemu-devel@nongnu.org; Wed, 27 Jan 2010 14:02:32 -0500 Received: from moutng.kundenserver.de ([212.227.126.186]:63908) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NaD9r-0008F1-6c for qemu-devel@nongnu.org; Wed, 27 Jan 2010 14:02:31 -0500 Message-ID: <4B608DC2.4040806@mail.berlios.de> Date: Wed, 27 Jan 2010 20:02:26 +0100 From: Stefan Weil MIME-Version: 1.0 References: <20100126160147.GA3460@redhat.com> <4B5F624C.7060402@mail.berlios.de> <20100127091342.GB3476@redhat.com> In-Reply-To: <20100127091342.GB3476@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCHv2] configure: verify stdio.h List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: qemu-devel@nongnu.org, Juan Quintela Michael S. Tsirkin schrieb: > On Tue, Jan 26, 2010 at 10:44:44PM +0100, Stefan Weil wrote: >> Michael S. Tsirkin schrieb: >>> Verify that stdio.h supports %lld %zd. >>> Some migw variants don't unless requested explicitly (see >> migw -> mingw >> >> I don't know any ming32 variant which supports %lld, %zd. >> There is a new mingw-w64 were people are addressing the >> problem, > > Did you try with -D__USE_MINGW_ANSI_STDIO=1 ? > This is what the link below mentions. New information on this issue: mingw-runtime 3.15 (2008-09-07) added support for standard format conversion: http://sourceforge.net/project/shownotes.php?release_id=24832 The release note also says how to select MS or C99/POSIX format strings. Debian still does not include that version: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=498529 Maybe someone knows how we can help to get the new release for debian. It's needed for cross compilation (at least for users who don't want to install it manually). > >> but that variant is unsupported by qemu. > > What are the issues? > Good question. I don't know because I did not try it. It was only a guess that qemu would not work with mingw-w64 without modifications.