From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IDT56-0006J2-03 for qemu-devel@nongnu.org; Tue, 24 Jul 2007 18:42:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IDT53-0006Iq-Kl for qemu-devel@nongnu.org; Tue, 24 Jul 2007 18:42:14 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IDT53-0006In-EW for qemu-devel@nongnu.org; Tue, 24 Jul 2007 18:42:13 -0400 Received: from phoenix.bawue.net ([193.7.176.60] helo=mail.bawue.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IDT53-0007n1-0x for qemu-devel@nongnu.org; Tue, 24 Jul 2007 18:42:13 -0400 Date: Tue, 24 Jul 2007 23:29:00 +0100 From: Thiemo Seufer Subject: Re: [Qemu-devel] case A ... B: Message-ID: <20070724222900.GB26960@networkno.de> References: <6540790d0707231927r1bd9925bx14940e8fc667037e@mail.gmail.com> <6540790d0707241443m226a1a91pe6c329efb2b4b718@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6540790d0707241443m226a1a91pe6c329efb2b4b718@mail.gmail.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Nathaniel Filardo Cc: qemu-devel@nongnu.org Nathaniel Filardo wrote: > Greetings all. > > I am attempting to port QEMU to Plan 9 for the Google Summer of Code. > A big chunk (in terms of diff line count) of the work that has been > done on this before was to convert all the lines of the form > case A ... B: > to be individual case arms as required by Plan 9's C compiler. There > are currently 200 lines in the code base that use this GNU C > extension, which limits the portability of QEMU to platforms with GCC > or a C compiler supporting this particular GNUism. Would a > bulk-conversion patch be accepted? The Qemu code generation depends (at least for now) heavily on GCC3 and its particular behaviour. As long as this is the case I don't see the point of replacing convenient GNU C extensions. (Once you manage to get Qemu to work with a different compiler the case for removing GNU C features will be stronger.) Thiemo