From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: Compilation errors in drivers/event/opdl/ Date: Sat, 20 Jan 2018 09:44:46 +0100 Message-ID: <20236883.VkVyGBRfOF@xps> References: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org, ferruh.yigit@intel.com To: "Patil, Harish" , "liang.j.ma@intel.com" , "peter.mccarthy@intel.com" , jerin.jacob@caviumnetworks.com Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 0654F1B1B8 for ; Sat, 20 Jan 2018 09:45:23 +0100 (CET) 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" 20/01/2018 06:18, Patil, Harish: > Hi, >=20 > I am seeing below compilation errors in drivers/event/opdl/, this is with > cloned latest DPDK (git clone http://dpdk.org/git/dpdk). >=20 > .. > .. > /home2/hpatil/e4/jan19-inbox-submit/dpdk/drivers/event/opdl/opdl_evdev_xs= ta > ts.c: In function =E2=80=98opdl_xstats_get_names=E2=80=99: > /home2/hpatil/e4/jan19-inbox-submit/dpdk/drivers/event/opdl/opdl_evdev_xs= ta > ts.c:89:2: error: =E2=80=98for=E2=80=99 loop initial declarations are onl= y allowed in > C99 mode > for (uint32_t j =3D 0; j < max_num_port_xstat; j++) { > ^ My compiler does not raise this error. What is your compiler? Anyone to fix it QUICKLY please? today? Harish, do you think we should revert if not fixed?