[dpdk-dev] [PATCH] net/mlx5: fix compilation issue in debug mode

Ferruh Yigit ferruh.yigit at intel.com
Mon Jul 3 11:18:40 CEST 2017


On 7/3/2017 9:27 AM, Adrien Mazarguil wrote:
> Even in C11, using types other than _Bool or signed/unsigned int for
> bit-fields is an extension. Some GCC versions complain about that when
> -pedantic checks are enabled.
> 
> The RTE_STD_C11 macro correctly prevented this issue with C99 but not with
> C11 as it becomes a no-op. Forcing the extension keyword addresses it.
> 
> Fixes: 143c03925695 ("net/mlx: update C compliance standard")
> 
> Signed-off-by: Adrien Mazarguil <adrien.mazarguil at 6wind.com>
> Tested-by: Yongseok Koh <yskoh at mellanox.com>
> ---
> Ferruh, squashing this commit with the previous one and discarding its
> log is fine if you want. Thanks.

Squashed into relevant commit in next-net, thanks.


More information about the dev mailing list