Re: [PATCH nftables] src/main.c: fix build with gcc <= 4.8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jun 07, 2020 at 11:36:47PM +0200, Fabrice Fontaine wrote:
> Since commit 719e44277f8e89323a87219b4d4bc7abac05b051, build with
> gcc <= 4.8 fails on:
> 
> main.c:186:2: error: 'for' loop initial declarations are only allowed in C99 mode
>   for (size_t i = IDX_INTERACTIVE + 1; i < NR_NFT_OPTIONS; ++i)
>   ^

Applied, thanks.



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux