From: Ferruh Yigit Date: Tue, 3 Jan 2017 16:15:42 +0000 (+0000) Subject: mk: disable icc warning 188 X-Git-Tag: spdx-start~5206 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=1b80b9c854c3c9e06cc7d497233507428e29e782;p=dpdk.git mk: disable icc warning 188 error #188: enumerated type mixed with another type This is get when an integer assigned to an enum variable. Since this usage is common and causing many ICC compilation errors, and other compilers accept this usage. Disabling the warning. Signed-off-by: Ferruh Yigit Acked-by: Adrien Mazarguil --- diff --git a/mk/toolchain/icc/rte.vars.mk b/mk/toolchain/icc/rte.vars.mk index ba69f1f86c..86d9ef7948 100644 --- a/mk/toolchain/icc/rte.vars.mk +++ b/mk/toolchain/icc/rte.vars.mk @@ -71,6 +71,7 @@ TOOLCHAIN_ASFLAGS = # was declared "deprecated" WERROR_FLAGS := -Wall -w2 -diag-disable 271 -diag-warning 1478 WERROR_FLAGS += -diag-disable 13368 -diag-disable 15527 +WERROR_FLAGS += -diag-disable 188 ifeq ($(RTE_DEVEL_BUILD),y) WERROR_FLAGS += -Werror-all