readdir.c: In function ‘dir_get_record’:
readdir.c:221:27: warning: array subscript 1 is above array bounds of ‘struct awk_field_info[1]’ [-Warray-bounds=]
221 | the_dir->fw.fields[1].len = flen-1;
| ~~~~~~~~~~~~~~~~~~^~~
In file included from readdir.c:65:
./../gawkapi.h:142:11: note: while referencing ‘fields’
142 | } fields[1]; /* actual dimension should be nf */
| ^~~~~~
readdir.c:225:27: warning: array subscript 2 is above array bounds of ‘struct awk_field_info[1]’ [-Warray-bounds=]
225 | the_dir->fw.fields[2].len = flen-1;
| ~~~~~~~~~~~~~~~~~~^~~
./../gawkapi.h:142:11: note: while referencing ‘fields’
142 | } fields[1]; /* actual dimension should be nf */
| ^~~~~~
readdir.c: In function ‘dir_take_control_of’:
readdir.c:303:27: warning: array subscript 1 is above array bounds of ‘struct awk_field_info[1]’ [-Warray-bounds=]
303 | the_dir->fw.fields[1].skip = 1; /* single '/' separator */
| ~~~~~~~~~~~~~~~~~~^~~
./../gawkapi.h:142:11: note: while referencing ‘fields’
142 | } fields[1]; /* actual dimension should be nf */
| ^~~~~~
readdir.c:304:27: warning: array subscript 2 is above array bounds of ‘struct awk_field_info[1]’ [-Warray-bounds=]
304 | the_dir->fw.fields[2].skip = 1; /* single '/' separator */
| ~~~~~~~~~~~~~~~~~~^~~
./../gawkapi.h:142:11: note: while referencing ‘fields’
142 | } fields[1]; /* actual dimension should be nf */
| ^~~~~~
libtool: warning: remember to run 'libtool --finish /usr/lib/gawk'