From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MgKSd-0000GE-CY for qemu-devel@nongnu.org; Wed, 26 Aug 2009 11:30:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MgKSY-00006m-LT for qemu-devel@nongnu.org; Wed, 26 Aug 2009 11:30:54 -0400 Received: from [199.232.76.173] (port=50285 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MgKSY-00006i-Hc for qemu-devel@nongnu.org; Wed, 26 Aug 2009 11:30:50 -0400 Received: from e8.ny.us.ibm.com ([32.97.182.138]:57165) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MgKSY-00057a-7S for qemu-devel@nongnu.org; Wed, 26 Aug 2009 11:30:50 -0400 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e8.ny.us.ibm.com (8.14.3/8.13.1) with ESMTP id n7QFUjbT011962 for ; Wed, 26 Aug 2009 11:30:45 -0400 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id n7QFUmsM252582 for ; Wed, 26 Aug 2009 11:30:49 -0400 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n7QFSeSu029060 for ; Wed, 26 Aug 2009 11:30:48 -0400 Message-ID: <4A955266.9030609@us.ibm.com> Date: Wed, 26 Aug 2009 10:19:02 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Coding style, C++ compatible code References: <51486eb6860d1680c1bce45e310dcd3aae096f43.1251111439.git.quintela@redhat.com> <4A928DF0.9000106@weilnetz.de> <87tyzxnwvb.fsf@pike.pond.sub.org> <4A953E20.8080806@mail.berlios.de> <877hwqsjpp.fsf@pike.pond.sub.org> In-Reply-To: <877hwqsjpp.fsf@pike.pond.sub.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: qemu-devel@nongnu.org Markus Armbruster wrote: > Stefan Weil writes: > > We can certainly discuss how to write better C, but appealing to the > authority of the C++ rationale is an argument I don't buy. > C++ compatibility is not a goal of QEMU AFAIK. We make extensive use of the fact that you can use struct Foo or Foo as a declaration via the TAILQ_ENTRY macro. With your proposal, that macro would no longer work. Regards, Anthony Liguori