Re: [dpdk-dev] [PATCH] event/opdl: fix build using C99 mode

2018-01-21 Thread Thomas Monjalon
21/01/2018 10:48, Andrew Rybchenko: > RHEL 7.4 gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-16) > > ‘for’ loop initial declarations are only allowed in C99 mode > > Fixes: 4236ce9bf5bf ("event/opdl: add OPDL ring infrastructure library") > > Signed-off-by: Andrew Rybchenko > --- > Other option is to

[dpdk-dev] [PATCH] event/opdl: fix build using C99 mode

2018-01-21 Thread Andrew Rybchenko
RHEL 7.4 gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-16) ‘for’ loop initial declarations are only allowed in C99 mode Fixes: 4236ce9bf5bf ("event/opdl: add OPDL ring infrastructure library") Signed-off-by: Andrew Rybchenko --- Other option is to move declarations outside of for loop. I just want it