From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0ACB7A2EEB for ; Mon, 7 Oct 2019 16:30:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DFCFD1C1AA; Mon, 7 Oct 2019 16:30:26 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id B1F591C1A2 for ; Mon, 7 Oct 2019 16:30:24 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Oct 2019 07:30:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,268,1566889200"; d="scan'208";a="368131077" Received: from silpixa00399126.ir.intel.com (HELO silpixa00399126.ger.corp.intel.com) ([10.237.223.2]) by orsmga005.jf.intel.com with ESMTP; 07 Oct 2019 07:30:17 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: bluca@debian.org, Bruce Richardson Date: Mon, 7 Oct 2019 15:30:09 +0100 Message-Id: <20191007143013.16252-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190725143831.25116-1-bruce.richardson@intel.com> References: <20190725143831.25116-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 0/4] synchronise meson warnings with make X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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. v2: fix path to ifpga driver in patch 2, since it has moved in the repo 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/base/meson.build | 11 ----------- lib/librte_cmdline/cmdline_parse_num.c | 2 +- 13 files changed, 38 insertions(+), 24 deletions(-) -- 2.21.0