src/h3.c: In function 'h3_get_boot_device':
src/h3.c:70:26: error: array subscript 0 is outside array bounds of 'uint32_t[0]' {aka 'unsigned int[]'} [-Werror=array-bounds]
70 | if (spl_signature[0] != 0x4E4F4765 || spl_signature[1] != 0x3054422E)
| ~~~~~~~~~~~~~^~~
src/h3.c:70:60: error: array subscript 0 is outside array bounds of 'uint32_t[0]' {aka 'unsigned int[]'} [-Werror=array-bounds]
70 | if (spl_signature[0] != 0x4E4F4765 || spl_signature[1] != 0x3054422E)
| ~~~~~~~~~~~~~^~~
src/h3.c:73:48: error: array subscript 0 is outside array bounds of 'uint32_t[0]' {aka 'unsigned int[]'} [-Werror=array-bounds]
73 | const uint32_t boot_dev = spl_signature[9] & 0xFF; /* offset into SPL = 0x28 */
| ~~~~~~~~~~~~~^~~
cc1: all warnings being treated as errors
[pi@fedora opi_emac_artnet_dmx_multi]$ arm-none-eabi-gcc --version
arm-none-eabi-gcc (Fedora 12.2.0-1.fc37) 12.2.0
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
261