From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by dpdk.org (Postfix) with ESMTP id 9E3B14A63 for ; Tue, 3 Jan 2017 18:19:14 +0100 (CET) Received: by mail-wm0-f44.google.com with SMTP id t79so435100065wmt.0 for ; Tue, 03 Jan 2017 09:19:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=Yve3WQCBhGdHmi0T08mwiDg7Jk08RmeD4w4bEBBjmOY=; b=uZ7NdV1OcqUak/cFuNLtTUJF/bsmpvBv/ub4XW2S2zd3EA44o168oG58vR0Ev0b76G OhCGAGVyscjn4HfHFFVXE1Bs49E/qHrK+ubEVIAnCDR71sQ3GMheT5kjPQR4BzPmXlic UW9lfHnZgncFA1cfnJ8HRbigpFpGlxO27h1//PDs/95W3YmxZbjXfaKIsiT2mcKustuS LAF71JhnLAWc+FBAwxijL+/e52pz42Esp+aZrGbux9ZCcLziRDEes6Aw7CBBengNvfSB TR14Pv8kVmHHaUvYK9ApNXAVODRnIueYDBbbpiEgIAxIbH6y6y/KDLQ44woTJwUhm5j7 kE/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Yve3WQCBhGdHmi0T08mwiDg7Jk08RmeD4w4bEBBjmOY=; b=ppUAfx5HZtLQFsNKvkXqm6pJmdsbB02QYybpHmok/+HqMZfmZLtlogRkDgLJexES10 IfmtOAunHwL1KdUMRX+SFIz4C/nqzLcvAqTHdXeYP84czsX08LMyhj+AjnpsjvA1gZ45 qNU7hA5uhLmZkCRizPrUIAyy7kOFyJAeCNbGsnTZrpKQNwrCp1qXtEpGxARDLu4r+sUG O1CQbefgfabFHiqTDBpEgMD1EaapqvACLU4Lah6eWNCghm6pwBKYmyXKafUDC2TAH7T7 J7FzuEWD+5mBFIBIJpi/KDIJy8QnK1FgVjBQ1M5jdi04BHgZNOxys+HkEOC2jjcqhUq5 brCw== X-Gm-Message-State: AIkVDXIcW3oLFUXLNsrMY0Vcq5C6z5dQbRQSsTkCMi7hOLBES+EQM9i24eEJoDaRbVtE9Zah X-Received: by 10.28.128.198 with SMTP id b189mr53397146wmd.105.1483463954318; Tue, 03 Jan 2017 09:19:14 -0800 (PST) Received: from 6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id js10sm94041019wjb.19.2017.01.03.09.19.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Jan 2017 09:19:13 -0800 (PST) Date: Tue, 3 Jan 2017 18:19:07 +0100 From: Adrien Mazarguil To: Ferruh Yigit Cc: dev@dpdk.org, Thomas Monjalon Message-ID: <20170103171907.GD12822@6wind.com> References: <20170103161542.27303-1-ferruh.yigit@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170103161542.27303-1-ferruh.yigit@intel.com> Subject: Re: [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 17:19:14 -0000 On Tue, Jan 03, 2017 at 04:15:42PM +0000, Ferruh Yigit wrote: > 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 I also think this warning may be useful but is not worth the trouble in many cases, thus: Acked-by: Adrien Mazarguil -- Adrien Mazarguil 6WIND