From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MOwBb-00027D-9J for qemu-devel@nongnu.org; Thu, 09 Jul 2009 12:09:27 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MOwBW-000218-8j for qemu-devel@nongnu.org; Thu, 09 Jul 2009 12:09:26 -0400 Received: from [199.232.76.173] (port=45685 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOwBW-00020v-3y for qemu-devel@nongnu.org; Thu, 09 Jul 2009 12:09:22 -0400 Received: from mx20.gnu.org ([199.232.41.8]:24218) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MOwBV-0003kN-PF for qemu-devel@nongnu.org; Thu, 09 Jul 2009 12:09:21 -0400 Received: from mail.codesourcery.com ([65.74.133.4]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MOwBU-00046w-JP for qemu-devel@nongnu.org; Thu, 09 Jul 2009 12:09:20 -0400 From: Paul Brook Subject: Re: [Qemu-devel] [PATCH 3/3 v2] Add a pc-0-10 machine type for compatibility with 0.10.x Date: Thu, 9 Jul 2009 17:09:16 +0100 References: <1244821292.30522.56.camel@blaa> <4A55BFE7.4070402@redhat.com> <4A55F21A.7060704@codemonkey.ws> In-Reply-To: <4A55F21A.7060704@codemonkey.ws> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907091709.17926.paul@codesourcery.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Mark McLoughlin , Gerd Hoffmann , Avi Kivity > It came out looking pretty good. The literal syntax is new to me: > > + .compat_props = (CompatProperty[]) { > + { > > I assume this is a GCC-ism? Compound literals ("(Foo[]){...}") are a standard C99 feature, as are designated initializers (".foo = ...") Paul