From: Peter Korsgaard <peter@korsgaard.com>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/libexif: fix build with gcc 4.8
Date: Wed, 15 Sep 2021 10:57:10 +0200 [thread overview]
Message-ID: <87fsu6tdw9.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20210915060318.599840-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Wed, 15 Sep 2021 08:03:18 +0200")
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> Fix the following build failure with gcc 4.8 raised since bump to
> version 0.6.23 in commit e2f805097611b4828d2cba6168472aac6dedeafe:
> exif-gps-ifd.c: In function 'exif_get_gps_tag_info':
> exif-gps-ifd.c:62:3: error: 'for' loop initial declarations are only allowed in C99 mode
> for (int i = 0; i < sizeof(exif_gps_ifd_tags) / sizeof(ExifGPSIfdTagInfo); ++i) {
> ^
> exif-gps-ifd.c:62:3: note: use option -std=c99 or -std=gnu99 to compile your code
> Fixes:
> - http://autobuild.buildroot.org/results/7dd222e06d1e6611449fb8fe7516817c9ad43d65
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@lists.buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2021-09-15 8:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-15 6:03 [Buildroot] [PATCH 1/1] package/libexif: fix build with gcc 4.8 Fabrice Fontaine
2021-09-15 8:57 ` Peter Korsgaard [this message]
2021-09-15 9:52 ` Peter Korsgaard
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=87fsu6tdw9.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.com \
--cc=buildroot@buildroot.org \
--cc=fontaine.fabrice@gmail.com \
/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