[dpdk-dev] [PATCH] ixgbe: fix compile error with gcc4.4 (used RHEL 6)

2014-09-25 Thread Cao, Waterman
Original Message- >From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon >Sent: Thursday, September 25, 2014 3:02 PM >To: Tang, HaifengX >Cc: dev at dpdk.org >Subject: Re: [dpdk-dev] [PATCH] ixgbe: fix compile error with gcc4.4 (used >RHEL 6) > >2014-09-25

[dpdk-dev] [PATCH] ixgbe: fix compile error with gcc4.4 (used RHEL 6)

2014-09-25 Thread Tang, HaifengX
dpdk.org Subject: [dpdk-dev] [PATCH] ixgbe: fix compile error with gcc4.4 (used RHEL 6) The refcnt field is contained within an anonymous union within the mbuf data structure, and gcc 4.4 gives an error about an unknown field unless the initialiser for the field is contained within extra braces

[dpdk-dev] [PATCH] ixgbe: fix compile error with gcc4.4 (used RHEL 6)

2014-09-25 Thread Thomas Monjalon
2014-09-25 02:13, Tang, HaifengX: > Tested-by: Haifeng Tang > > This patch just includes one file, and has been tested by Intel. > Please see the detail information from the attachment. Attachment is filtered out. Please do not try to attach some files for the mailing list. By the way, this pat

[dpdk-dev] [PATCH] ixgbe: fix compile error with gcc4.4 (used RHEL 6)

2014-09-18 Thread Thomas Monjalon
Hi Neil, 2014-09-18 11:03, Neil Horman: > Thank you, I've reproduced the problem here, and you're right, it is a > compiler bug, but I really hate the idea of just throwing braces around > something to shut the compiler up, especially when the compiler has since > been fixed. Looking at it a bit

[dpdk-dev] [PATCH] ixgbe: fix compile error with gcc4.4 (used RHEL 6)

2014-09-18 Thread Bruce Richardson
5 PM > > > To: Thomas Monjalon > > > Cc: Richardson, Bruce; dev at dpdk.org > > > Subject: Re: [dpdk-dev] [PATCH] ixgbe: fix compile error with gcc4.4 > > > (used RHEL > > > 6) > > > > > > On Thu, Sep 18, 2014 at 01:09:16PM +0200, Thomas

[dpdk-dev] [PATCH] ixgbe: fix compile error with gcc4.4 (used RHEL 6)

2014-09-18 Thread Richardson, Bruce
> -Original Message- > From: Neil Horman [mailto:nhorman at tuxdriver.com] > Sent: Thursday, September 18, 2014 4:51 PM > To: Thomas Monjalon > Cc: Richardson, Bruce; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] ixgbe: fix compile error with gcc4.4 (used > RHEL

[dpdk-dev] [PATCH] ixgbe: fix compile error with gcc4.4 (used RHEL 6)

2014-09-18 Thread Neil Horman
org > > Subject: Re: [dpdk-dev] [PATCH] ixgbe: fix compile error with gcc4.4 (used > > RHEL > > 6) > > > > On Thu, Sep 18, 2014 at 05:38:58PM +0200, Thomas Monjalon wrote: > > > Hi Neil, > > > > > > 2014-09-18 11:03, Neil Horman: > > &g

[dpdk-dev] [PATCH] ixgbe: fix compile error with gcc4.4 (used RHEL 6)

2014-09-18 Thread Thomas Monjalon
> The refcnt field is contained within an anonymous union within the mbuf > data structure, and gcc 4.4 gives an error about an unknown field unless > the initialiser for the field is contained within extra braces. > > Signed-off-by: Bruce Richardson Acked-by: Thomas Monjalon Thanks Bruce, it

[dpdk-dev] [PATCH] ixgbe: fix compile error with gcc4.4 (used RHEL 6)

2014-09-18 Thread Richardson, Bruce
> -Original Message- > From: Neil Horman [mailto:nhorman at tuxdriver.com] > Sent: Thursday, September 18, 2014 1:25 PM > To: Thomas Monjalon > Cc: Richardson, Bruce; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] ixgbe: fix compile error with gcc4.4 (used > RHEL

[dpdk-dev] [PATCH] ixgbe: fix compile error with gcc4.4 (used RHEL 6)

2014-09-18 Thread Bruce Richardson
The refcnt field is contained within an anonymous union within the mbuf data structure, and gcc 4.4 gives an error about an unknown field unless the initialiser for the field is contained within extra braces. Signed-off-by: Bruce Richardson --- lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c | 2 +- 1 fil

[dpdk-dev] [PATCH] ixgbe: fix compile error with gcc4.4 (used RHEL 6)

2014-09-18 Thread Neil Horman
On Thu, Sep 18, 2014 at 05:38:58PM +0200, Thomas Monjalon wrote: > Hi Neil, > > 2014-09-18 11:03, Neil Horman: > > Thank you, I've reproduced the problem here, and you're right, it is a > > compiler bug, but I really hate the idea of just throwing braces around > > something to shut the compiler u

[dpdk-dev] [PATCH] ixgbe: fix compile error with gcc4.4 (used RHEL 6)

2014-09-18 Thread Neil Horman
[mailto:nhorman at tuxdriver.com] > > > > Sent: Thursday, September 18, 2014 1:25 PM > > > > To: Thomas Monjalon > > > > Cc: Richardson, Bruce; dev at dpdk.org > > > > Subject: Re: [dpdk-dev] [PATCH] ixgbe: fix compile error with gcc4.4 > > >

[dpdk-dev] [PATCH] ixgbe: fix compile error with gcc4.4 (used RHEL 6)

2014-09-18 Thread Neil Horman
org > > Subject: Re: [dpdk-dev] [PATCH] ixgbe: fix compile error with gcc4.4 (used > > RHEL > > 6) > > > > On Thu, Sep 18, 2014 at 01:09:16PM +0200, Thomas Monjalon wrote: > > > > The refcnt field is contained within an anonymous union within the mbuf > >

[dpdk-dev] [PATCH] ixgbe: fix compile error with gcc4.4 (used RHEL 6)

2014-09-18 Thread Neil Horman
On Thu, Sep 18, 2014 at 01:09:16PM +0200, Thomas Monjalon wrote: > > The refcnt field is contained within an anonymous union within the mbuf > > data structure, and gcc 4.4 gives an error about an unknown field unless > > the initialiser for the field is contained within extra braces. > > > > Sign