On 1/21/2020 2:35 PM, Thomas Monjalon wrote:
> Three warnings are commonly disabled in DPDK with make and meson:
>       * address-of-packed-member
>               always disabled
>       * missing-field-initializers
>               disabled with meson
>               disabled with make + clang or make + gcc < 4.7
>               disabled with make + gcc <= 5 for test files and event drivers
>       * packed-not-aligned
>               disabled with meson
> 
> This change is removing exceptions for missing-field-initializers.
> As it is always disabled, some redundant configs are cleaned up.
> 
> Now the situation is:
>       * address-of-packed-member
>               always disabled
>       * missing-field-initializers
>               always disabled
>       * packed-not-aligned
>               disabled with meson
> 
> It could alternatively be decided to disable missing-field-initializers
> only for old gcc (< 6).

I am not sure if we ever want 'missing-field-initializers' warnings, so +1 to
drop it without version check as it is done in this patch.

> 
> The warning packed-not-aligned is not modified in this change.
> 
> Signed-off-by: Thomas Monjalon <tho...@monjalon.net>

Acked-by: Ferruh Yigit <ferruh.yi...@intel.com>

Reply via email to