From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/libcap: fix build with gcc 4.8
Date: Tue, 20 Jul 2021 23:43:18 +0200 [thread overview]
Message-ID: <20210720234318.0b48a884@windsurf> (raw)
In-Reply-To: <20210720210134.90010-1-fontaine.fabrice@gmail.com>
On Tue, 20 Jul 2021 23:01:34 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> Fix the following build failure with gcc 4.8 which is raised since bump
> to version 2.51 in commit bef89e381d0d698053a026d6a8cb0ded260bd074:
>
> uns_test.c: In function 'main':
> uns_test.c:118:5: error: 'for' loop initial declarations are only allowed in C99 mode
> for (int i=0; i<2; i++) {
> ^
>
> Fixes:
> - http://autobuild.buildroot.org/results/9e67bdd540bb7779a13e27c55114a561c12b289a
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> ...0001-Permit-compilation-with-std-c89.patch | 123 ++++++++++++++++++
> 1 file changed, 123 insertions(+)
> create mode 100644 package/libcap/0001-Permit-compilation-with-std-c89.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
WARNING: multiple messages have this Message-ID (diff)
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/libcap: fix build with gcc 4.8
Date: Tue, 20 Jul 2021 23:43:18 +0200 [thread overview]
Message-ID: <20210720234318.0b48a884@windsurf> (raw)
Message-ID: <20210720214318.7Hbf0PZ7Kn9oA_26QFzmwq1h97pSejeX8LDrzub3G3U@z> (raw)
In-Reply-To: <20210720210134.90010-1-fontaine.fabrice@gmail.com>
On Tue, 20 Jul 2021 23:01:34 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> Fix the following build failure with gcc 4.8 which is raised since bump
> to version 2.51 in commit bef89e381d0d698053a026d6a8cb0ded260bd074:
>
> uns_test.c: In function 'main':
> uns_test.c:118:5: error: 'for' loop initial declarations are only allowed in C99 mode
> for (int i=0; i<2; i++) {
> ^
>
> Fixes:
> - http://autobuild.buildroot.org/results/9e67bdd540bb7779a13e27c55114a561c12b289a
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> ...0001-Permit-compilation-with-std-c89.patch | 123 ++++++++++++++++++
> 1 file changed, 123 insertions(+)
> create mode 100644 package/libcap/0001-Permit-compilation-with-std-c89.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
next prev parent reply other threads:[~2021-07-20 21:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-20 21:01 [Buildroot] [PATCH 1/1] package/libcap: fix build with gcc 4.8 Fabrice Fontaine
2021-07-20 21:01 ` Fabrice Fontaine
2021-07-20 21:43 ` Thomas Petazzoni [this message]
2021-07-20 21:43 ` Thomas Petazzoni
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=20210720234318.0b48a884@windsurf \
--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