From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 46D8FDD2 for ; Sun, 21 Jan 2018 23:42:36 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id D365B20AB1; Sun, 21 Jan 2018 17:42:35 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Sun, 21 Jan 2018 17:42:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=mvOjcph8/+eortEbERkbe4Le63 iHu7QcsX2VtJP71bw=; b=fLPWqSGOlG1oZXVJBzW6DiSkKpcGWvYF5oOJllj+dG dU3LX1a6owHKastvuTbC97DHOHBNVl3mn+1ahOPLiXHUK70TT1ycrHu5ZybxVyCR GLbq1WDasfqFBwPTHYuAwPySCk4q4ICutbJnWg1Dr/B59TuTfXmeJbY7kl/zTzXi w= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=mvOjcp h8/+eortEbERkbe4Le63iHu7QcsX2VtJP71bw=; b=FfU/51qeZdKprf0uTlQd1j r8JvtOcq7LsXRGW1V9QHJ8JJKuP3tf/2yWSg0sA8rhISlTypulnW667OvZmiChlu OS/z+EUiK20jnQOShGjGmpNVGla3jnyCgEgWFzYJRfj52koCiU8tjrxDdyqGKYbA 20iQaE1NZspWI/HJuvJIoVjv/NC8Ja5JvKnSerSHbBOxV4O96JF/IaZE9yPTXg+P dS4mJIiQTTQv38bk/r2AO07jTORC/JP7hvxHukFlmv3fUB/7X6Ow7Dq+FaEZ3cLc ZaecpfXqT3FAEt6rWeU+rHIw/BQxrWYV+Sw0t+TvgSDP/3I4z+3w7FVf4s8SzmuQ == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 895BB7E2E6; Sun, 21 Jan 2018 17:42:35 -0500 (EST) From: Thomas Monjalon To: Ferruh Yigit , Pavan Nikhilesh Cc: dev@dpdk.org Date: Sun, 21 Jan 2018 23:41:58 +0100 Message-ID: <1717907.XnPDdZBNct@xps> In-Reply-To: References: <20180121222135.26160-1-thomas@monjalon.net> <7525503.S6sahj4VeJ@xps> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] examples/eventdev: fix build with GCC < 5 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: Sun, 21 Jan 2018 22:42:36 -0000 21/01/2018 23:40, Ferruh Yigit: > On 1/21/2018 10:32 PM, Thomas Monjalon wrote: > > Forgot the Fixes: tags, > > > > 21/01/2018 23:21, Thomas Monjalon: > >> Some errors were seen with GCC 4.8 and 4.9. > >> It looks to be a bug fixed in GCC 5. > >> > >> examples/eventdev_pipeline/pipeline_worker_generic.c:474:4: error: > >> missing initializer for field 'queue_id' of 'struct ' > >> > >> examples/eventdev_pipeline/pipeline_worker_generic.c:475:3: error: > >> missing initializer for field 'priority' of 'struct ' > >> > >> examples/eventdev_pipeline/pipeline_worker_tx.c:630:2: error: > >> missing initializer for field 'queue_id' of 'struct ' > >> > >> The workaround is to not use initializer statement, > >> but to use memset and standard assignment. > > > > Fixes: 84dde5de10a2 ("examples/eventdev: support Rx adapter") > > Fixes: fa8054c8c889 ("examples/eventdev: add thread safe Tx worker pipeline") > > > >> Signed-off-by: Thomas Monjalon > > Reviewed-by: Ferruh Yigit Applied