From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F0D55C7618B for ; Thu, 25 Jul 2019 14:38:39 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id B39DA21901 for ; Thu, 25 Jul 2019 14:38:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B39DA21901 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E08CD1C371; Thu, 25 Jul 2019 16:38:37 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 8B2651C36F for ; Thu, 25 Jul 2019 16:38:35 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Jul 2019 07:38:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,307,1559545200"; d="scan'208";a="253948991" Received: from silpixa00399126.ir.intel.com (HELO silpixa00399126.ger.corp.intel.com) ([10.237.223.2]) by orsmga001.jf.intel.com with ESMTP; 25 Jul 2019 07:38:33 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Date: Thu, 25 Jul 2019 15:38:27 +0100 Message-Id: <20190725143831.25116-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 19.11 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. 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