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 87FEDA0545; Fri, 13 Nov 2020 04:39:21 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C911956A3; Fri, 13 Nov 2020 04:39:19 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 5061A569B for ; Fri, 13 Nov 2020 04:39:18 +0100 (CET) IronPort-SDR: Np9eMgfccsb25lcsvdEzPaVHoQg79CuwjnEFORjhahIQXfhmS2F9FZ3ElBfgfI/t74044FdWbA NvBEYK4dAuDw== X-IronPort-AV: E=McAfee;i="6000,8403,9803"; a="166913197" X-IronPort-AV: E=Sophos;i="5.77,474,1596524400"; d="scan'208";a="166913197" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Nov 2020 19:39:14 -0800 IronPort-SDR: x/s1DIbTUiFmIjlRZxN/fbj69dzld1V8pkRUGmnaI3FKJNtY5Xv37ZjfqZWv3WhfHy5jxcLalB 3QrLVkX6iwkw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,474,1596524400"; d="scan'208";a="357358673" Received: from irsmsx604.ger.corp.intel.com ([163.33.146.137]) by fmsmga004.fm.intel.com with ESMTP; 12 Nov 2020 19:39:13 -0800 Received: from shsmsx603.ccr.corp.intel.com (10.109.6.143) by IRSMSX604.ger.corp.intel.com (163.33.146.137) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 13 Nov 2020 03:39:11 +0000 Received: from shsmsx603.ccr.corp.intel.com ([10.109.6.143]) by SHSMSX603.ccr.corp.intel.com ([10.109.6.143]) with mapi id 15.01.1713.004; Fri, 13 Nov 2020 11:39:10 +0800 From: "Chen, LingliX" To: "Walsh, Conor" , "Richardson, Bruce" CC: "dev@dpdk.org" Thread-Topic: [PATCH v1] build: add Wformat to fix gcc compile error Thread-Index: AQHWuOf0SqOW4ZAWukaYQYGQY6cd4KnFayCA Date: Fri, 13 Nov 2020 03:39:09 +0000 Message-ID: <209bd0c4731a4dccb5644bd824f0453f@intel.com> References: <20201112113537.1996073-1-conor.walsh@intel.com> In-Reply-To: <20201112113537.1996073-1-conor.walsh@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [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" Tested-by: Chen, LingliX Regards, Chen, LingliX > -----Original Message----- > From: Walsh, Conor > Sent: Thursday, November 12, 2020 7:36 PM > To: Richardson, Bruce > Cc: dev@dpdk.org; Chen, LingliX ; Walsh, Conor > > Subject: [PATCH v1] build: add Wformat to fix gcc compile error >=20 > 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 >=20 > Signed-off-by: Conor Walsh > --- > config/meson.build | 1 + > 1 file changed, 1 insertion(+) >=20 > 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 =3D [ > # additional warnings in alphabetical order > '-Wcast-qual', > '-Wdeprecated', > + '-Wformat', > '-Wformat-nonliteral', > '-Wformat-security', > '-Wmissing-declarations', > -- > 2.25.1