[dpdk-dev] [PATCH] ethdev: fix compilation with gcc 4.8

Ferruh Yigit ferruh.yigit at intel.com
Wed Oct 23 17:00:50 CEST 2019


On 10/23/2019 1:14 PM, Raslan Darawsheh wrote:
> gcc 4.8 is considering bit filed as extention rather than
> c11 std with pedantic, which cause compilation failure.
> 
> This adds extention keyword exceplicitly to the struct
> to avoid compilation issue on gcc 4.8
> 
> Fixes: a7658a86 ("ethdev: add HIGIG2 key field to flow API")
> 
> Signed-off-by: Raslan Darawsheh <rasland at mellanox.com>

Squashed into relevant commit in next-net, thanks.

Unfortunately lost the context that why it has been marked with '__extension__'
instead of 'RTE_STD_C11', hopefully someone won't try to "fix" it in the future.


More information about the dev mailing list