From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 19C7A9AB3 for ; Wed, 18 Feb 2015 19:18:51 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP; 18 Feb 2015 10:18:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,603,1418112000"; d="scan'208";a="687499501" Received: from orsmsx101.amr.corp.intel.com ([10.22.225.128]) by orsmga002.jf.intel.com with ESMTP; 18 Feb 2015 10:18:46 -0800 Received: from fmsmsx108.amr.corp.intel.com (10.18.124.206) by ORSMSX101.amr.corp.intel.com (10.22.225.128) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 18 Feb 2015 10:18:44 -0800 Received: from fmsmsx113.amr.corp.intel.com ([169.254.13.112]) by FMSMSX108.amr.corp.intel.com ([169.254.9.53]) with mapi id 14.03.0195.001; Wed, 18 Feb 2015 10:18:43 -0800 From: "Wiles, Keith" To: "Shaw, Jeffrey B" , "dev@dpdk.org" Thread-Topic: [PATCH] fm10k: fix clang warning flags Thread-Index: AQHQS6RxEjfepy+U4U6YS8eCy21lvJz22OOA Date: Wed, 18 Feb 2015 18:18:42 +0000 Message-ID: References: <1424282263-28429-1-git-send-email-jeffrey.b.shaw@intel.com> In-Reply-To: <1424282263-28429-1-git-send-email-jeffrey.b.shaw@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.255.34.223] Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] fm10k: fix clang warning flags X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2015 18:18:52 -0000 On 2/18/15, 11:57 AM, "Shaw, Jeffrey B" wrote: >This commit fixes the following error which was reported when >compiling with clang by removing the option. > >error: unknown warning option '-Wno-unused-but-set-variable' > >Signed-off-by: Jeff Shaw Acked-by: keith.wiles@intel.com >--- > lib/librte_pmd_fm10k/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/lib/librte_pmd_fm10k/Makefile b/lib/librte_pmd_fm10k/Makefile >index 986f4ef..26663ae 100644 >--- a/lib/librte_pmd_fm10k/Makefile >+++ b/lib/librte_pmd_fm10k/Makefile >@@ -55,7 +55,7 @@ else ifeq ($(CC), clang) > # > CFLAGS_BASE_DRIVER =3D -Wno-unused-parameter -Wno-unused-value > CFLAGS_BASE_DRIVER +=3D -Wno-strict-aliasing -Wno-format-extra-args >-CFLAGS_BASE_DRIVER +=3D -Wno-unused-variable -Wno-unused-but-set-variable >+CFLAGS_BASE_DRIVER +=3D -Wno-unused-variable > CFLAGS_BASE_DRIVER +=3D -Wno-missing-field-initializers >=20 > else >--=20 >2.1.0 >