Re: [dpdk-dev] [PATCH] build: disable gcc 10 zero-length-bounds warning

2020-05-18 Thread David Marchand
On Fri, May 15, 2020 at 10:28 AM David Marchand wrote: > On Thu, May 14, 2020 at 3:19 PM Kevin Traynor wrote: > > > > gcc 10 issues warnings about the use of rearm_data marker > > from struct rte_mbuf. > > > > e.g. > > ../drivers/net/enic/enic_rxtx_vec_avx2.c: In function ‘rx_one’: > > ../drivers

Re: [dpdk-dev] [PATCH] build: disable gcc 10 zero-length-bounds warning

2020-05-18 Thread David Marchand
On Fri, May 15, 2020 at 10:28 AM David Marchand wrote: > > On Thu, May 14, 2020 at 3:19 PM Kevin Traynor wrote: > > > > gcc 10 issues warnings about the use of rearm_data marker > > from struct rte_mbuf. > > > > e.g. > > ../drivers/net/enic/enic_rxtx_vec_avx2.c: In function ‘rx_one’: > > ../drive

Re: [dpdk-dev] [PATCH] build: disable gcc 10 zero-length-bounds warning

2020-05-15 Thread David Marchand
On Thu, May 14, 2020 at 3:19 PM Kevin Traynor wrote: > > gcc 10 issues warnings about the use of rearm_data marker > from struct rte_mbuf. > > e.g. > ../drivers/net/enic/enic_rxtx_vec_avx2.c: In function ‘rx_one’: > ../drivers/net/enic/enic_rxtx_vec_avx2.c:21:2: > warning: > array subscript 0 is o

[dpdk-dev] [PATCH] build: disable gcc 10 zero-length-bounds warning

2020-05-14 Thread Kevin Traynor
gcc 10 issues warnings about the use of rearm_data marker from struct rte_mbuf. e.g. ../drivers/net/enic/enic_rxtx_vec_avx2.c: In function ‘rx_one’: ../drivers/net/enic/enic_rxtx_vec_avx2.c:21:2: warning: array subscript 0 is outside the bounds of an interior zero-length array ‘RTE_MARKER64’ {aka