Received: from eggs.gnu.org ([2001:4830:134:3::10]:40915) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYt31-0005PT-AR for qemu-devel@nongnu.org; Thu, 25 Feb 2016 05:21:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYt2w-0006oS-7d for qemu-devel@nongnu.org; Thu, 25 Feb 2016 05:21:27 -0500 Received: from indium.canonical.com ([91.189.90.7]:43882) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYt2w-0006oN-1f for qemu-devel@nongnu.org; Thu, 25 Feb 2016 05:21:22 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1aYt2v-0000fH-2x for ; Thu, 25 Feb 2016 10:21:21 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 14D862E808B for ; Thu, 25 Feb 2016 10:21:21 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Thu, 25 Feb 2016 10:11:25 -0000 From: Peter Maydell Sender: bounces@canonical.com References: <20160208105016.14893.91563.malonedeb@gac.canonical.com> Message-Id: <20160225101125.1966.18382.malone@gac.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1543057] Re: Warnings are treated as errors Reply-To: Bug 1543057 <1543057@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org (a) That warnings are treated as errors is a feature, not a bug (it happen= s for development builds only) (b) the definition of struct PCIDevice in include/hw/pci/pci.h starts with = "DeviceState qdev;" so it's not clear to me how that error could be produce= d in the first place I see the original submitter was using 2.2.50 -- I suggest using either (a) a release build of QEMU or (b) current master. 2.2.50 will be from somewhere on trunk between 2.2 and 2.3, so might quite possibly have had a build bug that was quickly fixed subsequently. -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1543057 Title: Warnings are treated as errors Status in QEMU: New Bug description: System: Ubuntu 14.04, 32bit Kernel: 3.13.0-55-generic Qemu: v. 2.2.50 Error msg: hw/acpi/pcihp.c: In function =E2=80=98acpi_pcihp_pc_no_hotplug=E2=80=99: hw/acpi/pcihp.c:117:34: error: =E2=80=98PCIDevice=E2=80=99 has no member = named =E2=80=98qdev=E2=80=99 return (pc->is_bridge && !dev->qdev.hotplugged) || !dc->hotpluggable; ^ hw/acpi/pcihp.c:118:1: error: control reaches end of non-void function [-= Werror=3Dreturn-type] } ^ cc1: all warnings being treated as errors To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1543057/+subscriptions