Re: [libvirt] [PATCH] Avoid GCC extensions

2009-01-12 Thread Daniel P. Berrange
On Mon, Jan 12, 2009 at 06:32:45PM +, Richard W.M. Jones wrote: > On Mon, Dec 15, 2008 at 09:38:52PM +, Daniel P. Berrange wrote: > > On Mon, Dec 15, 2008 at 11:58:06AM -0800, john.le...@sun.com wrote: > > > # HG changeset patch > > > # User john.le...@sun.com > > > # Date 1229367890 28800

Re: [libvirt] [PATCH] Avoid GCC extensions

2009-01-12 Thread Richard W.M. Jones
On Mon, Dec 15, 2008 at 09:38:52PM +, Daniel P. Berrange wrote: > On Mon, Dec 15, 2008 at 11:58:06AM -0800, john.le...@sun.com wrote: > > # HG changeset patch > > # User john.le...@sun.com > > # Date 1229367890 28800 > > # Node ID 6a8e82d7d2e166880fed8d7ad860a3e2e93d62be > > # Parent c324c231c

Re: [libvirt] [PATCH] Avoid GCC extensions

2008-12-16 Thread Guido Günther
On Mon, Dec 15, 2008 at 11:58:06AM -0800, john.le...@sun.com wrote: > diff --git a/src/domain_conf.h b/src/domain_conf.h > --- a/src/domain_conf.h > +++ b/src/domain_conf.h > @@ -307,12 +307,13 @@ struct _virDomainHostdevDef { > unsigned slot; > unsigned

Re: [libvirt] [PATCH] Avoid GCC extensions

2008-12-15 Thread Daniel P. Berrange
On Mon, Dec 15, 2008 at 11:58:06AM -0800, john.le...@sun.com wrote: > # HG changeset patch > # User john.le...@sun.com > # Date 1229367890 28800 > # Node ID 6a8e82d7d2e166880fed8d7ad860a3e2e93d62be > # Parent c324c231c6a50be9f970f0f6c6d1629a7c09ab3b > Avoid GCC extensions > > Anonymous unions are

[libvirt] [PATCH] Avoid GCC extensions

2008-12-15 Thread john . levon
# HG changeset patch # User john.le...@sun.com # Date 1229367890 28800 # Node ID 6a8e82d7d2e166880fed8d7ad860a3e2e93d62be # Parent c324c231c6a50be9f970f0f6c6d1629a7c09ab3b Avoid GCC extensions Anonymous unions are not portable, nor are zero-sizes structures. Signed-off-by: John Levon diff --gi