From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSXOM-00062s-2b for qemu-devel@nongnu.org; Mon, 11 Aug 2008 09:24:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSXOK-00061h-I4 for qemu-devel@nongnu.org; Mon, 11 Aug 2008 09:24:57 -0400 Received: from [199.232.76.173] (port=40917 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSXOK-00061Y-8h for qemu-devel@nongnu.org; Mon, 11 Aug 2008 09:24:56 -0400 Received: from mx1.redhat.com ([66.187.233.31]:54949) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KSXOJ-0008Ue-UI for qemu-devel@nongnu.org; Mon, 11 Aug 2008 09:24:56 -0400 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m7BDOSgp030634 for ; Mon, 11 Aug 2008 09:24:28 -0400 Received: from pobox.stuttgart.redhat.com (pobox.stuttgart.redhat.com [172.16.2.10]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m7BDOQp2004637 for ; Mon, 11 Aug 2008 09:24:27 -0400 Received: from zweiblum.travel.kraxel.org (vpn-4-72.str.redhat.com [10.32.4.72]) by pobox.stuttgart.redhat.com (8.13.1/8.13.1) with ESMTP id m7BDOQxd007593 for ; Mon, 11 Aug 2008 09:24:26 -0400 Message-ID: <48A03D89.3020005@redhat.com> Date: Mon, 11 Aug 2008 15:24:25 +0200 From: Gerd Hoffmann MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] gccism's are ok? 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 Hi, Quick question: Is it ok to use gcc-specific features in qemu? Or will that break builds on some platform? Linux obviously is gcc, MacOS X too as far I know. MinGW on Windows is gcc too. Anything else we care about? I'm thinking especially about the constructor attribute. That would allow to make drivers self-contained, by having a register() call in a small constructor function ... cheers, Gerd -- http://kraxel.fedorapeople.org/xenner/