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 C2685A09D3; Thu, 12 Nov 2020 12:35:48 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BB3B65928; Thu, 12 Nov 2020 12:35:46 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id C1694493D for ; Thu, 12 Nov 2020 12:35:44 +0100 (CET) IronPort-SDR: shcRf72St2Hqgo//zkdSTe3l6+tmzNmiWn6S2wqId1NRxIBnD0/nym0fRhVYY87YF3qBvVaoBU IGekreQJZqpg== X-IronPort-AV: E=McAfee;i="6000,8403,9802"; a="167710925" X-IronPort-AV: E=Sophos;i="5.77,471,1596524400"; d="scan'208";a="167710925" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Nov 2020 03:35:42 -0800 IronPort-SDR: AqIEjXUCWXgcowKAOT1wiZHmNIH0/TXXcVLiCvyy3XfGilXuBNcrZT8Vw/iPduH+Z0ULzjnqsl UUUOLKwCPq/Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,471,1596524400"; d="scan'208";a="399372287" Received: from silpixa00400466.ir.intel.com ([10.237.213.98]) by orsmga001.jf.intel.com with ESMTP; 12 Nov 2020 03:35:40 -0800 From: Conor Walsh To: bruce.richardson@intel.com Cc: dev@dpdk.org, linglix.chen@intel.com, Conor Walsh Date: Thu, 12 Nov 2020 11:35:37 +0000 Message-Id: <20201112113537.1996073-1-conor.walsh@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v1] build: add Wformat to fix gcc compile error 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" On some systems Wformat-nonliteral and Wformat-security could not be checked without Wformat also being specified. This patch adds Wformat to config/meson.build Signed-off-by: Conor Walsh --- config/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/config/meson.build b/config/meson.build index 258b01d068..15625c346a 100644 --- a/config/meson.build +++ b/config/meson.build @@ -192,6 +192,7 @@ warning_flags = [ # additional warnings in alphabetical order '-Wcast-qual', '-Wdeprecated', + '-Wformat', '-Wformat-nonliteral', '-Wformat-security', '-Wmissing-declarations', -- 2.25.1