[Buildroot] [PATCH v1] package/localedef: fix gcc-10.0.1 compile
Peter Korsgaard
peter at korsgaard.com
Tue Apr 7 19:01:45 UTC 2020
>>>>> "Peter" == Peter Seiderer <ps.report at gmx.net> writes:
> Fixes bug 12711 ([1]):
> programs/ld-ctype.c:855:18: error: array subscript 0 is outside the bounds of an interior zero-length array ‘unsigned char[0]’ [-Werror=zero-length-bounds]
> 855 | replace[0].bytes[0] = '?';
> | ~~~~~~~~~~~~~~~~^~~
> [1] https://bugs.busybox.net/show_bug.cgi?id=12711
> Signed-off-by: Peter Seiderer <ps.report at gmx.net>
> ---
> Notes:
> Patch suggested by Yann E, MORIN, could not test personally (no
> gcc-10.0.1 available).
Committed to 2020.02.x, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list