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 EEE4331FC for ; Sun, 21 Jan 2018 23:33:17 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 7AEFD209D1; Sun, 21 Jan 2018 17:33:17 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Sun, 21 Jan 2018 17:33:17 -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=onNlsAM7BH6By/eYPiHt6I+y9i dlHY2a8DuwjI6QedQ=; b=gSOaijE8toQNwm/RFWUGX6w3buuf4tbhb9VDDpwwF6 6drA7WfFl0Pm6eUfm4WYfBd1ZQg2z1UyQ+r3aQCPNdq2YCAkj3Ngr+ShH1CDE4EP /b6Y3L0ZQS3QHTRGEnG92QYJB07WiN3P4CTp1ZKQEICWmiKPbqgmQsH6xKlUbXvJ g= 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=onNlsA M7BH6By/eYPiHt6I+y9idlHY2a8DuwjI6QedQ=; b=QL+UOyFWwOVwNy09rGL7lh Ok0dAAuSNis+XtRAtXpZQGqePV1HMUz06+mEi6dYHeLUWC3Hp8HAqitIno+EOe1E vrn2oIopjmJ7efsDQVIEXFTCWANQQqGS6CYtalkuXBLhMVTCE+wrOBvYAeMlXCjI kmQsutZflNo1leFqFFdCP7v2JCaiWT2yi8YSRFRDnuq5V+YluRGjZqZ4twjR4au1 OTqMBWiL92Z2mClBjf5YUJaVAmQb60qhnYAUihvu6G1fwZ3b/BYUr8GTWs5kCiHP jFj+S7GzY9+CFgXN3vYFrcBRGHUxIFi0kWtDxCA0/fdSDyd9EJGB2wcj0D0CuX8Q == 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 2D3D624547; Sun, 21 Jan 2018 17:33:17 -0500 (EST) From: Thomas Monjalon To: dev@dpdk.org Cc: Pavan Nikhilesh Date: Sun, 21 Jan 2018 23:32:39 +0100 Message-ID: <7525503.S6sahj4VeJ@xps> In-Reply-To: <20180121222135.26160-1-thomas@monjalon.net> References: <20180121222135.26160-1-thomas@monjalon.net> 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:33:18 -0000 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