[Buildroot] [PATCH 1/1] package/mc: fix build with gcc 4.8
Peter Korsgaard
peter at korsgaard.com
Tue May 24 12:52:49 UTC 2022
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice at gmail.com> writes:
> Fix the following build failure with gcc 4.8 raised since bump to
> version 4.8.26 in commit e648dfa6f7078a6fbbc5feb83292c6a98300fe8f and
> https://github.com/MidnightCommander/mc/commit/8b4386df83ab5a525f0568113fe1e53d362f433e:
> tty-ncurses.c: In function 'tty_colorize_area':
> tty-ncurses.c:575:5: error: 'for' loop initial declarations are only allowed in C99 mode
> for (int row = 0; row < rows; row++)
> ^
> Fixes:
> - http://autobuild.buildroot.org/results/d9f0a11bde42fe6ae2e9449d3365609d59a6545d
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Committed to 2022.02.x, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list