From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] test: fix compilation error in external memory test Date: Tue, 23 Oct 2018 11:09:47 +0200 Message-ID: <23345537.Ht9BHoOmuU@xps> References: <20181017002244.6117-1-dg@adax.com> <4777b2af-5ae6-b87d-d6ef-3303e3390aa3@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org, "Burakov, Anatoly" To: Dan Gora Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 8B5831B3A7 for ; Tue, 23 Oct 2018 11:09:46 +0200 (CEST) In-Reply-To: <4777b2af-5ae6-b87d-d6ef-3303e3390aa3@intel.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" 17/10/2018 12:12, Burakov, Anatoly: > On 17-Oct-18 1:22 AM, Dan Gora wrote: > > Fix a compilation error in test_external_mem.c: > >=20 > > CC test_external_mem.o > > test_external_mem.c: In function =E2=80=98test_external_mem=E2=80=99: > > test_external_mem.c:375:2: error: =E2=80=98for=E2=80=99 loop initial de= clarations are > > only allowed in C99 mode > >=20 > > for (int i =3D 0; i < n_pages; i++) { > > ^ > > test_external_mem.c:375:2: note: use option -std=3Dc99 or -std=3Dgnu99 = to > > compile your code > >=20 > > Fixes: b270daa43b3d ("test: support external memory") > > Cc: anatoly.burakov@intel.com > >=20 > > Signed-off-by: Dan Gora > > --- >=20 > Oops >=20 > Acked-by: Anatoly Burakov Applied, thanks