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 8C382B4C7 for ; Wed, 18 Feb 2015 18:58:00 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP; 18 Feb 2015 09:57:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,603,1418112000"; d="scan'208";a="687486029" Received: from plxs0284.pdx.intel.com ([10.25.97.128]) by orsmga002.jf.intel.com with ESMTP; 18 Feb 2015 09:57:59 -0800 Received: from plxv1143.pdx.intel.com (plxv1143.pdx.intel.com [10.25.98.50]) by plxs0284.pdx.intel.com with ESMTP id t1IHvxes015796; Wed, 18 Feb 2015 09:57:59 -0800 Received: from plxv1143.pdx.intel.com (localhost [127.0.0.1]) by plxv1143.pdx.intel.com with ESMTP id t1IHvxbx031747; Wed, 18 Feb 2015 09:57:59 -0800 Received: (from jbshaw@localhost) by plxv1143.pdx.intel.com with œ id t1IHvwVS031739; Wed, 18 Feb 2015 09:57:58 -0800 X-Authentication-Warning: plxv1143.pdx.intel.com: jbshaw set sender to jeffrey.b.shaw@intel.com using -f From: Jeff Shaw To: dev@dpdk.org Date: Wed, 18 Feb 2015 09:57:43 -0800 Message-Id: <1424282263-28429-1-git-send-email-jeffrey.b.shaw@intel.com> X-Mailer: git-send-email 1.7.0.7 To: dev@dpdk.org Subject: [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 17:58:00 -0000 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 --- 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 = -Wno-unused-parameter -Wno-unused-value CFLAGS_BASE_DRIVER += -Wno-strict-aliasing -Wno-format-extra-args -CFLAGS_BASE_DRIVER += -Wno-unused-variable -Wno-unused-but-set-variable +CFLAGS_BASE_DRIVER += -Wno-unused-variable CFLAGS_BASE_DRIVER += -Wno-missing-field-initializers else -- 2.1.0