netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH nftables] src/main.c: fix build with gcc <= 4.8
Date: Mon, 8 Jun 2020 12:02:03 +0200	[thread overview]
Message-ID: <20200608100203.GA15508@salvia> (raw)
In-Reply-To: <20200607213647.4107234-1-fontaine.fabrice@gmail.com>

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.

      reply	other threads:[~2020-06-08 10:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-07 21:36 [PATCH nftables] src/main.c: fix build with gcc <= 4.8 Fabrice Fontaine
2020-06-08 10:02 ` Pablo Neira Ayuso [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200608100203.GA15508@salvia \
    --to=pablo@netfilter.org \
    --cc=fontaine.fabrice@gmail.com \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).