[dpdk-dev] [PATCH] ring: fix build with icc
Thomas Monjalon
thomas.monjalon at 6wind.com
Wed Apr 5 17:29:48 CEST 2017
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 to first element of the struct
The fix is surprising.
Is it really doing the same thing as
} __rte_cache_aligned;
at the end of the struct?
More information about the dev
mailing list