[dpdk-dev] [PATCH] test: fix compilation error in external memory test
Thomas Monjalon
thomas at monjalon.net
Tue Oct 23 11:09:47 CEST 2018
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:
> >
> > CC test_external_mem.o
> > test_external_mem.c: In function ‘test_external_mem’:
> > test_external_mem.c:375:2: error: ‘for’ loop initial declarations are
> > only allowed in C99 mode
> >
> > for (int i = 0; i < n_pages; i++) {
> > ^
> > test_external_mem.c:375:2: note: use option -std=c99 or -std=gnu99 to
> > compile your code
> >
> > Fixes: b270daa43b3d ("test: support external memory")
> > Cc: anatoly.burakov at intel.com
> >
> > Signed-off-by: Dan Gora <dg at adax.com>
> > ---
>
> Oops
>
> Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>
Applied, thanks
More information about the dev
mailing list