[Buildroot] [PATCH 1/1] package/libexif: fix build with gcc 4.8
Peter Korsgaard
peter at korsgaard.com
Wed Sep 15 08:57:10 UTC 2021
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice at 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 at gmail.com>
Committed, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list