[dpdk-dev] [PATCH] test: fix compilation error in external memory test
Burakov, Anatoly
anatoly.burakov at intel.com
Wed Oct 17 12:12:04 CEST 2018
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>
--
Thanks,
Anatoly
More information about the dev
mailing list