mk: ignore missing field initializers warning
authorThomas Monjalon <thomas@monjalon.net>
Tue, 21 Jan 2020 14:35:31 +0000 (15:35 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 6 Feb 2020 08:09:37 +0000 (09:09 +0100)
commitc886f4263a34ea083511c3a0a0206f5ba8a34934
tree92a9bdb489ec25fe9beb357fb85c1d6be146b635
parent98e763bb12373286d5508b55c5f3c2fa9dd7b3e9
mk: ignore missing field initializers warning

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).

The warning packed-not-aligned is not modified in this change.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
app/test/Makefile
drivers/event/opdl/Makefile
drivers/event/sw/Makefile
drivers/net/fm10k/Makefile
drivers/net/i40e/Makefile
drivers/net/ionic/Makefile
drivers/net/ionic/meson.build
mk/toolchain/clang/rte.vars.mk
mk/toolchain/gcc/rte.vars.mk