Re: [EXT] [PATCH] net: fix build with -Wpedantic

2022-09-29 Thread Thomas Monjalon
29/09/2022 09:09, Akhil Goyal: > > > > Adds the __extension__ attribute to resolve the following warning > > > > with gcc 4.8.5 on CentOS 7: > > > > lib/net/rte_macsec.h:38:2: error: type of bit-field 'short_length' is > > > > a GCC extension [-Werror=pedantic] > > > > > > > > Fixes: 0aaf097585a6

Re: [EXT] [PATCH] net: fix build with -Wpedantic

2022-09-29 Thread Thomas Monjalon
29/09/2022 09:01, Akhil Goyal: > > Adds the __extension__ attribute to resolve the following warning > > with gcc 4.8.5 on CentOS 7: > > lib/net/rte_macsec.h:38:2: error: type of bit-field 'short_length' is > > a GCC extension [-Werror=pedantic] > > > > Fixes: 0aaf097585a6 ("ethdev: add MACsec f

RE: [EXT] [PATCH] net: fix build with -Wpedantic

2022-09-29 Thread Akhil Goyal
> > > Adds the __extension__ attribute to resolve the following warning > > > with gcc 4.8.5 on CentOS 7: > > > lib/net/rte_macsec.h:38:2: error: type of bit-field 'short_length' is > > > a GCC extension [-Werror=pedantic] > > > > > > Fixes: 0aaf097585a6 ("ethdev: add MACsec flow item") > > > Cc:

RE: [EXT] [PATCH] net: fix build with -Wpedantic

2022-09-29 Thread Ali Alnubani
> -Original Message- > From: Akhil Goyal > Sent: Thursday, September 29, 2022 10:02 AM > To: Ali Alnubani ; dev@dpdk.org > Subject: RE: [EXT] [PATCH] net: fix build with -Wpedantic > > > Adds the __extension__ attribute to resolve the following warning > &

RE: [EXT] [PATCH] net: fix build with -Wpedantic

2022-09-29 Thread Akhil Goyal
> Adds the __extension__ attribute to resolve the following warning > with gcc 4.8.5 on CentOS 7: > lib/net/rte_macsec.h:38:2: error: type of bit-field 'short_length' is > a GCC extension [-Werror=pedantic] > > Fixes: 0aaf097585a6 ("ethdev: add MACsec flow item") > Cc: gak...@marvell.com > > Si

[PATCH] net: fix build with -Wpedantic

2022-09-28 Thread Ali Alnubani
Adds the __extension__ attribute to resolve the following warning with gcc 4.8.5 on CentOS 7: lib/net/rte_macsec.h:38:2: error: type of bit-field 'short_length' is a GCC extension [-Werror=pedantic] Fixes: 0aaf097585a6 ("ethdev: add MACsec flow item") Cc: gak...@marvell.com Signed-off-by: Ali A