From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] event/opdl: fix build using C99 mode Date: Sun, 21 Jan 2018 11:52:17 +0100 Message-ID: <1723597.5t6EeO7jYB@xps> References: <1516528119-720-1-git-send-email-arybchenko@solarflare.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org, Liang Ma , Peter Mccarthy , Jerin Jacob To: Andrew Rybchenko Return-path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 67B3844CF for ; Sun, 21 Jan 2018 11:52:55 +0100 (CET) In-Reply-To: <1516528119-720-1-git-send-email-arybchenko@solarflare.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 21/01/2018 10:48, Andrew Rybchenko: > RHEL 7.4 gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-16) >=20 > =E2=80=98for=E2=80=99 loop initial declarations are only allowed in C99 m= ode >=20 > Fixes: 4236ce9bf5bf ("event/opdl: add OPDL ring infrastructure library") >=20 > Signed-off-by: Andrew Rybchenko > --- > Other option is to move declarations outside of for loop. > I just want it to be fixed. Yes, other option would be to comply with DPDK coding style. Let's fix it with std=3DC99, waiting for coding style fix. Applied, thanks