On Fri, Mar 22, 2019 at 10:44:17AM +0000, Andrew Cooper wrote:
GCC 4.4 from CentOS 6 chokes in the following way:
src/hw/blockcmd.c: In function 'scsi_rep_luns_scan': src/hw/blockcmd.c:229: error: unknown field 'cdbcmd' specified in initializer src/hw/blockcmd.c:229: warning: missing braces around initializer src/hw/blockcmd.c:229: warning: (near initialization for 'op.<anonymous>') src/hw/blockcmd.c:229: warning: initialization makes integer from pointer without a cast
Avoid using an initialiser list.
Thanks, but note that gcc v4.4 was officially deprecated:
https://mail.coreboot.org/pipermail/seabios/2017-November/011932.html
I don't recall if the problem was limited to just the issue you outlined in your email or if there were additional issues.
-Kevin