|
From: | Markus Armbruster |
Subject: | Re: [Qemu-devel] [PATCH 01/16] net: Add a hub net client |
Date: | Mon, 23 Jul 2012 19:11:38 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.97 (gnu/linux) |
Andreas Färber <address@hidden> 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.
[Prev in Thread] | Current Thread | [Next in Thread] |