[dpdk-dev] [PATCH] crypto/scheduler: fix build
Thomas Monjalon
thomas at monjalon.net
Sun Jul 9 15:26:00 CEST 2017
09/07/2017 12:43, Jan Blunck:
> On Sun, Jul 9, 2017 at 6:38 AM, Thomas Monjalon <thomas at monjalon.net> wrote:
> > 09/07/2017 11:44, Jan Blunck:
> >> Fixes 4c07e0552f0a ("crypto/scheduler: add multicore scheduling mode")
> >>
> >> drivers/crypto/scheduler/scheduler_multicore.c: In function 'scheduler_stop':
> >> drivers/crypto/scheduler/scheduler_multicore.c:286:2: error: 'for' loop
> >> initial declarations are only allowed in C99 or C11 mode
> >> for (uint16_t i = 0; i < sched_ctx->nb_wc; i++)
> >> ^
> >
> > I wonder why I have not spotted it.
> > What is your compiler? which version?
>
> This is with Debian Jessie:
>
> gcc version 4.9.2 (Debian 4.9.2-10)
OK, so I could update the title to "fix build with old gcc" ?
And add in the log that it has been seen with gcc 4.9.2.
Do you agree?
PS: I am testing with gcc 7.1.
More information about the dev
mailing list