On Wed, Apr 17, 2019 at 10:23 PM Yonghong Song wrote:
>
> I hit the following compilation error with gcc 4.8.5.
>
> prog_tests/flow_dissector.c: In function ‘test_flow_dissector’:
> prog_tests/flow_dissector.c:155:2: error: ‘for’ loop initial declarations
> are only allowed in C99 mode
>
I hit the following compilation error with gcc 4.8.5.
prog_tests/flow_dissector.c: In function ‘test_flow_dissector’:
prog_tests/flow_dissector.c:155:2: error: ‘for’ loop initial declarations are
only allowed in C99 mode
for (int i = 0; i < ARRAY_SIZE(tests); i++) {
^
prog_tests/flo