From mboxrd@z Thu Jan 1 00:00:00 1970 From: Raghavendra D Prabhu Subject: [PATCH 0/3] Build fixes Date: Tue, 5 Jul 2011 03:29:59 +0530 Message-ID: Cc: kvm@vger.kernel.org, Raghavendra D Prabhu To: qemu-devel@nongnu.org Return-path: Received: from mail-pz0-f46.google.com ([209.85.210.46]:61803 "EHLO mail-pz0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752246Ab1GDWAU (ORCPT ); Mon, 4 Jul 2011 18:00:20 -0400 Received: by pzk9 with SMTP id 9so1972191pzk.19 for ; Mon, 04 Jul 2011 15:00:19 -0700 (PDT) Sender: kvm-owner@vger.kernel.org List-ID: Hi, With default configure, the qemu-kvm client build was failing for me since Werror is enabled by default in configure. Deprecations (gnutls), gcc signed-overflow optimization (Werror=strict-overflows) and few unused-but-set variables were causing it. I have attached the patches after applying which, I got no further errors. Raghavendra D Prabhu (3): Avoid the use of deprecated gnutls gnutls_*_set_priority functions. Add fno-strict-overflow Avoid Wunsed-but-set warnings (or errors in case of Werror) Makefile.hw | 2 +- hw/device-assignment.c | 6 +++--- simpletrace.c | 2 +- ui/vnc-tls.c | 20 +------------------- xen-mapcache.c | 7 ++----- 5 files changed, 8 insertions(+), 29 deletions(-) -- 1.7.6 -------------------------- Raghavendra Prabhu GPG Id : 0xD72BE977 Fingerprint: B93F EBCB 8E05 7039 CD3C A4B8 A616 DCA1 D72B E977 www: wnohang.net