From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Wiles, Keith" Subject: Re: [PATCH] fm10k: fix clang warning flags Date: Wed, 18 Feb 2015 18:18:42 +0000 Message-ID: References: <1424282263-28429-1-git-send-email-jeffrey.b.shaw@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable To: "Shaw, Jeffrey B" , "dev-VfR2kkLFssw@public.gmane.org" Return-path: In-Reply-To: <1424282263-28429-1-git-send-email-jeffrey.b.shaw-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> Content-Language: en-US Content-ID: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org >--- > 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 >