Compilation Error with GCC 9.1.0
There are extra checks with GCC 9.1.0 that need addressing:
common_io.c: In function 'io_check_output_fields':
common_io.c:1808:43: error: '%s' directive writing up to 43199 bytes into a region of size 1011 [-Werror=format-overflow=]
1808 | sprintf(field_name, "SelectOutput:%s_%s", list[field_id].name,
| ^~
common_io.c:1808:9: note: 'sprintf' output 15 or more bytes (assuming 43214) into a destination of size 1024
1808 | sprintf(field_name, "SelectOutput:%s_%s", list[field_id].name,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1809 | part_type_names[ptype]);
| ~~~~~~~~~~~~~~~~~~~~~~~
single_io.c: In function 'write_output_single':
single_io.c:1154:36: error: '%s' directive writing up to 43199 bytes into a region of size 243 [-Werror=format-overflow=]
1154 | sprintf(field, "SelectOutput:%s_%s", list[i].name,
| ^~
single_io.c:1154:7: note: 'sprintf' output 15 or more bytes (assuming 43214) into a destination of size 256
1154 | sprintf(field, "SelectOutput:%s_%s", list[i].name,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1155 | part_type_names[ptype]);
| ~~~~~~~~~~~~~~~~~~~~~~~
I think it's just a case of lengthening the string.