From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HC1tF-00065k-8o for qemu-devel@nongnu.org; Tue, 30 Jan 2007 17:55:49 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HC1t9-00065X-SU for qemu-devel@nongnu.org; Tue, 30 Jan 2007 17:55:47 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HC1t9-00065U-Nh for qemu-devel@nongnu.org; Tue, 30 Jan 2007 17:55:43 -0500 Received: from mail.codesourcery.com ([65.74.133.4]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HC1t7-0005NA-Oo for qemu-devel@nongnu.org; Tue, 30 Jan 2007 17:55:42 -0500 From: Paul Brook Subject: Re: [Qemu-devel] current qemu cvs broken for mingw hosts Date: Tue, 30 Jan 2007 22:55:25 +0000 References: <46d6db660701301112t7902f5aak452a1cf1c0bc2ea4@mail.gmail.com> <46d6db660701301209t62180911vdd8e72aee37b4acc@mail.gmail.com> In-Reply-To: <46d6db660701301209t62180911vdd8e72aee37b4acc@mail.gmail.com> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200701302255.26377.paul@codesourcery.com> Content-Type: text/plain; charset="iso-8859-1" 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 On Tuesday 30 January 2007 20:09, Christian MICHON wrote: > On 1/30/07, Johannes Schindelin wrote: > > just guard it with an #ifndef ENOMEDIUM > > this one was not bothering so much, but it's true it's cleaner with this. > > > > c:/qemu/qemu-30jan07/vl.c: In function `win_chr_read_poll': > > > c:/qemu/qemu-30jan07/vl.c:2021: error: structure has no member named > > > `chr' [...] > > > > > > I cannot figure out what "chr"'s type is supposed to be in the struct. > > > > How about CharDriverState? I deduce this from > > > > origin:vl.h:318:int qemu_chr_can_read(CharDriverState *s); > > I guess I'm tired (banged too much my head on git recently :) ) > The fix is attached: thanks. Did you test it? I'm fairly certain it still won't work. AFAICS You're not setting the field anywhere. Paul