Re: [dpdk-dev] [PATCH] ring: fix build with icc

2017-04-05 Thread Thomas Monjalon
2017-04-05 17:13, Bruce Richardson: > On Wed, Apr 05, 2017 at 04:03:12PM +0100, Ferruh Yigit wrote: > > build error: > > In file included from .../lib/librte_ring/rte_ring.c(90): > > .../lib/librte_ring/rte_ring.h(162): > > error #1366: a reduction in alignment without the "packed" attribute > > is

Re: [dpdk-dev] [PATCH] ring: fix build with icc

2017-04-05 Thread Bruce Richardson
On Wed, Apr 05, 2017 at 04:03:12PM +0100, Ferruh Yigit wrote: > build error: > In file included from .../lib/librte_ring/rte_ring.c(90): > .../lib/librte_ring/rte_ring.h(162): > error #1366: a reduction in alignment without the "packed" attribute > is ignored > } __rte_cache_aligned; > ^ >

Re: [dpdk-dev] [PATCH] ring: fix build with icc

2017-04-05 Thread Bruce Richardson
On Wed, Apr 05, 2017 at 05:29:48PM +0200, Thomas Monjalon wrote: > 2017-04-05 16:03, Ferruh Yigit: > > build error: > > In file included from .../lib/librte_ring/rte_ring.c(90): > > .../lib/librte_ring/rte_ring.h(162): > > error #1366: a reduction in alignment without the "packed" attribute > > is

Re: [dpdk-dev] [PATCH] ring: fix build with icc

2017-04-05 Thread Thomas Monjalon
2017-04-05 16:03, Ferruh Yigit: > build error: > In file included from .../lib/librte_ring/rte_ring.c(90): > .../lib/librte_ring/rte_ring.h(162): > error #1366: a reduction in alignment without the "packed" attribute > is ignored > } __rte_cache_aligned; > ^ > > Alignment attribute moved t

[dpdk-dev] [PATCH] ring: fix build with icc

2017-04-05 Thread Ferruh Yigit
build error: In file included from .../lib/librte_ring/rte_ring.c(90): .../lib/librte_ring/rte_ring.h(162): error #1366: a reduction in alignment without the "packed" attribute is ignored } __rte_cache_aligned; ^ Alignment attribute moved to first element of the struct Fixes: a6619414e0a9