Re: [dpdk-dev] [PATCH v2] net: fix compilation with pedantic enabled

2020-07-21 Thread Ferruh Yigit
On 7/21/2020 9:31 AM, Raslan Darawsheh wrote: > when trying to compile rte_mpls with pedantic enabled, > on old compilers like 4.8 it will complain about bit field definition. > > error: type of bit-field 'bs' is a GCC extension [-Werror=pedantic] > error: type of bit-field 'tc' is a GCC extension

[dpdk-dev] [PATCH v2] net: fix compilation with pedantic enabled

2020-07-21 Thread Raslan Darawsheh
when trying to compile rte_mpls with pedantic enabled, on old compilers like 4.8 it will complain about bit field definition. error: type of bit-field 'bs' is a GCC extension [-Werror=pedantic] error: type of bit-field 'tc' is a GCC extension [-Werror=pedantic] error: type of bit-field 'tag_lsb' i