Warnings are treated as errors System: Ubuntu 14.04, 32bit Kernel: 3.13.0-55-generic Qemu: v. 2.2.50 Error msg: hw/acpi/pcihp.c: In function ‘acpi_pcihp_pc_no_hotplug’: hw/acpi/pcihp.c:117:34: error: ‘PCIDevice’ has no member named ‘qdev’ return (pc->is_bridge && !dev->qdev.hotplugged) || !dc->hotpluggable; ^ hw/acpi/pcihp.c:118:1: error: control reaches end of non-void function [-Werror=return-type] } ^ cc1: all warnings being treated as errors