From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 992A637A4 for ; Tue, 3 Jan 2017 17:15:46 +0100 (CET) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP; 03 Jan 2017 08:15:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,455,1477983600"; d="scan'208";a="49626116" Received: from sivswdev02.ir.intel.com ([10.237.217.46]) by fmsmga006.fm.intel.com with ESMTP; 03 Jan 2017 08:15:44 -0800 From: Ferruh Yigit To: dev@dpdk.org Cc: Thomas Monjalon , Ferruh Yigit Date: Tue, 3 Jan 2017 16:15:42 +0000 Message-Id: <20170103161542.27303-1-ferruh.yigit@intel.com> X-Mailer: git-send-email 2.8.4 Subject: [dpdk-dev] [PATCH] mk: disable ICC warning 188 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2017 16:15:47 -0000 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 --- mk/toolchain/icc/rte.vars.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/mk/toolchain/icc/rte.vars.mk b/mk/toolchain/icc/rte.vars.mk index ba69f1f..86d9ef7 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 -- 2.9.3