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 <ferruh.yigit@intel.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
This commit is contained in:
Ferruh Yigit 2017-01-03 16:15:42 +00:00 committed by Thomas Monjalon
parent 6b520d54eb
commit 1b80b9c854

View File

@ -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