All of lore.kernel.org
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 19.11 0/4] synchronise meson warnings with make
@ 2019-07-25 14:38 Bruce Richardson
  2019-07-25 14:38 ` [dpdk-dev] [PATCH 19.11 1/4] build: allow compile with stricter fallthrough warnings Bruce Richardson
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Bruce Richardson @ 2019-07-25 14:38 UTC (permalink / raw)
  To: dev; +Cc: Bruce Richardson

The warnings used when building DPDK with make were stricter than those
used with meson, so this patchset aligns the two as far as is possible,
while also adding in -Wextra as a general compile flag.

The one difference is that with "make" we allow different flags for GCC
and clang, while with meson we are (for now) keeping them common.
Therefore we drop the -Wcast-align flag as is generates too many
false positive warnings on clang, and we globally use the
Wno-missing-field-initializers flag for the same reason.

Bruce Richardson (4):
  build: allow compile with stricter fallthrough warnings
  raw/ifpga: remove unneeded compiler flags
  build: enable extra warnings for meson build
  drivers: remove duplicated compiler flags

 config/meson.build                        | 24 ++++++++++++++++++++---
 drivers/bus/dpaa/meson.build              |  3 +++
 drivers/event/dsw/meson.build             |  3 +++
 drivers/net/bonding/rte_eth_bond_pmd.c    |  3 ++-
 drivers/net/dpaa/meson.build              |  4 ++++
 drivers/net/fm10k/base/meson.build        |  3 ++-
 drivers/net/i40e/base/meson.build         |  3 ++-
 drivers/net/mlx4/meson.build              |  1 -
 drivers/net/mlx5/meson.build              |  1 -
 drivers/net/sfc/meson.build               |  2 --
 drivers/net/vdev_netvsc/meson.build       |  2 --
 drivers/raw/ifpga_rawdev/base/meson.build | 11 -----------
 lib/librte_cmdline/cmdline_parse_num.c    |  2 +-
 13 files changed, 38 insertions(+), 24 deletions(-)

-- 
2.21.0


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2019-10-23 21:53 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-25 14:38 [dpdk-dev] [PATCH 19.11 0/4] synchronise meson warnings with make Bruce Richardson
2019-07-25 14:38 ` [dpdk-dev] [PATCH 19.11 1/4] build: allow compile with stricter fallthrough warnings Bruce Richardson
2019-07-25 14:38 ` [dpdk-dev] [PATCH 19.11 2/4] raw/ifpga: remove unneeded compiler flags Bruce Richardson
2019-07-25 14:38 ` [dpdk-dev] [PATCH 19.11 3/4] build: enable extra warnings for meson build Bruce Richardson
2019-07-25 14:38 ` [dpdk-dev] [PATCH 19.11 4/4] drivers: remove duplicated compiler flags Bruce Richardson
2019-10-07 14:17 ` [dpdk-dev] [PATCH 19.11 0/4] synchronise meson warnings with make Luca Boccassi
2019-10-07 14:30 ` [dpdk-dev] [PATCH v2 " Bruce Richardson
2019-10-07 14:30   ` [dpdk-dev] [PATCH v2 1/4] build: allow compile with stricter fallthrough warnings Bruce Richardson
2019-10-07 14:30   ` [dpdk-dev] [PATCH v2 2/4] raw/ifpga: remove unneeded compiler flags Bruce Richardson
2019-10-07 14:30   ` [dpdk-dev] [PATCH v2 3/4] build: enable extra warnings for meson build Bruce Richardson
2019-10-07 14:30   ` [dpdk-dev] [PATCH v2 4/4] drivers: remove duplicated compiler flags Bruce Richardson
2019-10-23 21:53   ` [dpdk-dev] [PATCH v2 0/4] synchronise meson warnings with make Thomas Monjalon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.