Re: [dpdk-dev] [PATCH] mempool/octeontx2: fix build with ICC

2019-06-27 Thread Ferruh Yigit
On 6/27/2019 12:07 AM, Stephen Hemminger wrote: > The Intel compiler is pickier about casts and generates: > otx2_mempool_ops.c(344): error #191: type qualifier is meaningless on cast > type > int64_t * const addr = (int64_t * const) > ^ > This is because of the

[dpdk-dev] [PATCH] mempool/octeontx2: fix build with ICC

2019-06-26 Thread Stephen Hemminger
The Intel compiler is pickier about casts and generates: otx2_mempool_ops.c(344): error #191: type qualifier is meaningless on cast type int64_t * const addr = (int64_t * const) ^ This is because of the nature of const. In this example, the expression is bein