From: Helin Zhang Date: Mon, 18 May 2015 15:40:55 +0000 (+0800) Subject: i40e/base: fix build with icc X-Git-Tag: spdx-start~9183 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=01eca0fae979927533fd62ab274ef665b574110e;p=dpdk.git i40e/base: fix build with icc 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; ^ Fixes: 3b7271f3958a ("i40e/base: catch NVM write semaphore timeout and retry") Signed-off-by: Helin Zhang Acked-by: Bruce Richardson Acked-by: Tetsuya Mukawa --- diff --git a/lib/librte_pmd_i40e/Makefile b/lib/librte_pmd_i40e/Makefile index 22f0716588..911e4f5147 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