From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] examples/l3fwd-power: fix build with icc Date: Sat, 27 Oct 2018 01:24:47 +0200 Message-ID: <5711580.YPxherES5Z@xps> References: <20181026220045.28739-1-thomas@monjalon.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: Ferruh Yigit , David Hunt , liang.j.ma@intel.com, lei.a.yao@intel.com To: dev@dpdk.org Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id B13222BF3 for ; Sat, 27 Oct 2018 01:24:43 +0200 (CEST) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 27/10/2018 00:13, Ferruh Yigit: > On 10/26/2018 11:00 PM, Thomas Monjalon wrote: > > main.c(376): error #592: variable "lcore_id" is used before its value is set > > RTE_SET_USED(lcore_id); > > ^ > > > > The variables were voided with RTE_SET_USED without an obvious reason. > > Removing these voidings should avoid the icc error. > > > > Fixes: a137d012 ("examples/l3fwd-power: support traffic pattern aware control") > > > > Signed-off-by: Thomas Monjalon > > Tested-by: Ferruh Yigit Applied