From mboxrd@z Thu Jan 1 00:00:00 1970 From: Helin Zhang Subject: [PATCH v3 1/2] i40e/base: fix compile with ICC 13.0.0 Date: Mon, 18 May 2015 23:40:55 +0800 Message-ID: <1431963656-22836-2-git-send-email-helin.zhang@intel.com> References: <1431961409-22252-1-git-send-email-helin.zhang@intel.com> <1431963656-22836-1-git-send-email-helin.zhang@intel.com> To: dev@dpdk.org Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 1108958CB for ; Mon, 18 May 2015 17:41:07 +0200 (CEST) In-Reply-To: <1431963656-22836-1-git-send-email-helin.zhang@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Below compile error can be found on ICC 13.0.0, which is a warning treated as error. Forcedly disabling the warning can fix it. Error log: lib/librte_pmd_i40e/i40e/i40e_nvm.c(1022): error #188: enumerated type mixed with another type hw->aq.asq_last_status = old_asq_status; ^ Signed-off-by: Helin Zhang --- lib/librte_pmd_i40e/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) v3 changes: Reworded the commit title. diff --git a/lib/librte_pmd_i40e/Makefile b/lib/librte_pmd_i40e/Makefile index 22f0716..911e4f5 100644 --- a/lib/librte_pmd_i40e/Makefile +++ b/lib/librte_pmd_i40e/Makefile @@ -48,7 +48,7 @@ LIBABIVER := 1 # to disable warnings # ifeq ($(CC), icc) -CFLAGS_BASE_DRIVER = -wd593 +CFLAGS_BASE_DRIVER = -wd593 -wd188 else ifeq ($(CC), clang) CFLAGS_BASE_DRIVER += -Wno-sign-compare CFLAGS_BASE_DRIVER += -Wno-unused-value -- 1.8.1.4