Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kmwbx-0004sM-EC for qemu-devel@nongnu.org; Mon, 06 Oct 2008 16:23:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kmwbv-0004ri-PR for qemu-devel@nongnu.org; Mon, 06 Oct 2008 16:23:20 -0400 Received: from [199.232.76.173] (port=52935 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kmwbv-0004rc-Le for qemu-devel@nongnu.org; Mon, 06 Oct 2008 16:23:19 -0400 Received: from keryell.pck.nerim.net ([213.41.240.87]:60801 helo=an-dro.enstb.org) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kmwbv-0000Qh-9b for qemu-devel@nongnu.org; Mon, 06 Oct 2008 16:23:19 -0400 Subject: Re: [Qemu-devel] [patch 1/2] machine struct - use C99 initializers References: <48EA0E22.4080302@sgi.com> <48EA28DC.40604@sgi.com> From: Ronan Keryell Date: Mon, 06 Oct 2008 22:22:23 +0200 In-Reply-To: <48EA28DC.40604@sgi.com> (Jes Sorensen's message of "Mon\, 06 Oct 2008 17\:03\:56 +0200") Message-ID: <87wsglbhj4.fsf@an-dro.enstb.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable 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 Cc: Anthony Liguori >>>>> On Mon, 06 Oct 2008 17:03:56 +0200, Jes Sorensen said: Jes> Ehm, what compiler does _not_ support C99 these days? M$ Visual C *2008* for example. :-) But is it really even a C89 compiler, when you get a deprecation warning about the use of fopen() ? :-) Hopefully there are some more efficient C99 compilers such as the Intel one on this architecture in the vendor world... Jes> Sorry, but there is already plenty of use of C99 initializers in Jes> QEMU today, the people who you refer to have either stopped Jes> building QEMU or switched to a 21st century compiler. C99 adds many quite useful things to clean up the code and make it more concise and more efficient (want to go back with alloca() instead of clean automatic variable size array and so on ? Oh no ! :-) ). But since everybody on this list has read the C99 norm and so knows what is C89 and C99, I guess it will remains a religious discussion... :-) --=20 Ronan KERYELL |\/ Tel: (+33|0) 2.29.00.14.15 D=E9partement Informatique |/) Fax: (+33|0) 2.29.00.12.82 T=C9L=C9COM Bretagne, CS 83818 K GSM: (+33|0) 6.13.14.37.66 F-29238 PLOUZAN=C9 CEDEX 3 |\ E-mail: rk@enstb.org FRANCE | \ http://enstb.org/~keryell