[dpdk-dev] [PATCH v2 2/2] use simple zero initializers

2015-04-16 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Thursday, April 16, 2015 1:55 PM > To: Olivier MATZ > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2 2/2] use simple zero initializers > > I'

[dpdk-dev] [PATCH v2 2/2] use simple zero initializers

2015-04-16 Thread Thomas Monjalon
2015-04-16 12:12, Olivier MATZ: > On 04/15/2015 10:49 PM, Thomas Monjalon wrote: > > To initialize a structure with zeros, one field was explicitly set > > to avoid "missing initializer" bug with old GCC (e.g. 4.4). > > This warning is now disabled (commit ) for old versions of GCC, > > so the work

[dpdk-dev] [PATCH v2 2/2] use simple zero initializers

2015-04-16 Thread Olivier MATZ
Hi Thomas, On 04/15/2015 10:49 PM, Thomas Monjalon wrote: > To initialize a structure with zeros, one field was explicitly set > to avoid "missing initializer" bug with old GCC (e.g. 4.4). > This warning is now disabled (commit ) for old versions of GCC, > so the workarounds may be removed. > > Th

[dpdk-dev] [PATCH v2 2/2] use simple zero initializers

2015-04-15 Thread Thomas Monjalon
To initialize a structure with zeros, one field was explicitly set to avoid "missing initializer" bug with old GCC (e.g. 4.4). This warning is now disabled (commit ) for old versions of GCC, so the workarounds may be removed. These initializers should not be needed for static variables but they ar