Host: Operating system: Mac OS 10.12.5 GCC: Apple LLVM version 8.1.0 (clang-802.0.42) Command to reproduce: ./configure --target-list=ppc-softmmu,i386-softmmu && make -j 4
During compiling I saw these warning messages: CC ppc-softmmu/hw/char/virtio-serial-bus.o /Users/john/Documents/Development/Projects/Qemu/qemu-git/hw/char/virtio-serial-bus.c:660:24: warning: taking address of packed member 'cols' of class or structure 'virtio_console_config' may result in an unaligned pointer value [-Waddress-of-packed-member] qemu_put_be16s(f, &config.cols); ^~~~~~~~~~~ /Users/john/Documents/Development/Projects/Qemu/qemu-git/hw/char/virtio-serial-bus.c:661:24: warning: taking address of packed member 'rows' of class or structure 'virtio_console_config' may result in an unaligned pointer value [-Waddress-of-packed-member] qemu_put_be16s(f, &config.rows); ^~~~~~~~~~~ /Users/john/Documents/Development/Projects/Qemu/qemu-git/hw/char/virtio-serial-bus.c:662:24: warning: taking address of packed member 'max_nr_ports' of class or structure 'virtio_console_config' may result in an unaligned pointer value [-Waddress-of-packed-member] qemu_put_be32s(f, &config.max_nr_ports); ^~~~~~~~~~~~~~~~~~~