Received: from eggs.gnu.org ([208.118.235.92]:49326) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1StMAh-0000ZP-Ud for qemu-devel@nongnu.org; Mon, 23 Jul 2012 13:11:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1StMAc-0000D6-Er for qemu-devel@nongnu.org; Mon, 23 Jul 2012 13:11:50 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53975) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1StMAc-0000Cw-4Y for qemu-devel@nongnu.org; Mon, 23 Jul 2012 13:11:46 -0400 From: Markus Armbruster References: <1342785709-3152-1-git-send-email-stefanha@linux.vnet.ibm.com> <1342785709-3152-2-git-send-email-stefanha@linux.vnet.ibm.com> <500D4754.2020301@redhat.com> <500D5A23.205@redhat.com> <500D6AB0.1050703@redhat.com> <500D7CE7.9040903@suse.de> Date: Mon, 23 Jul 2012 19:11:38 +0200 In-Reply-To: <500D7CE7.9040903@suse.de> ("Andreas =?utf-8?Q?F=C3=A4rber=22?= =?utf-8?Q?'s?= message of "Mon, 23 Jul 2012 18:33:43 +0200") Message-ID: <87a9yq4d2t.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 01/16] net: Add a hub net client List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andreas =?utf-8?Q?F=C3=A4rber?= Cc: Stefan Hajnoczi , Laszlo Ersek , Stefan Hajnoczi , qemu-devel@nongnu.org, Zhi Yong Wu , Blue Swirl , Zhi Yong Wu , Paolo Bonzini , Erik Blake Andreas F=C3=A4rber writes: > Hm, I'm not so much into those documents [cc'ing Blue], but we used to > be stricter about ANSI C some years back (which iirc forbids > non-constant expressions in initializers?). FWIW we have since switched It doesn't, except when the variable has static storage duration. > to C99 struct initializers and use QOM cast macros (that translate to a > function call) in initializers. -ansi -pedantic is unlikely to get far.