Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v1] zbar: needs c99 mode
Date: Thu, 28 Feb 2019 23:45:25 +0100	[thread overview]
Message-ID: <20190228234525.0cc23afb@windsurf.home> (raw)
In-Reply-To: <20190227220100.13536-1-ps.report@gmx.net>

On Wed, 27 Feb 2019 23:01:00 +0100
Peter Seiderer <ps.report@gmx.net> wrote:

> Fixes [1]:
> 
>   bar/sqcode.c: In function 'sq_scan_shape':
>   zbar/sqcode.c:171:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
>        for (int x = x0 - 1; x < x0 + width + 1; x++) {
>        ^
>   zbar/sqcode.c:171:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
> 
> [1] http://autobuild.buildroot.net/results/7d544275756f655f9d42c05562aca653923155b1
> 
> Signed-off-by: Peter Seiderer <ps.report@gmx.net>
> ---
>  package/zbar/zbar.mk | 2 ++
>  1 file changed, 2 insertions(+)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

      reply	other threads:[~2019-02-28 22:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-27 22:01 [Buildroot] [PATCH v1] zbar: needs c99 mode Peter Seiderer
2019-02-28 22:45 ` Thomas Petazzoni [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=20190228234525.0cc23afb@windsurf.home \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /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