Re: [Qemu-devel] [PATCH 2/3] Add fno-strict-overflow

2011-07-07 Thread Raghavendra D Prabhu
* On Tue, Jul 05, 2011 at 09:30:44PM +0100, Stefan Hajnoczi wrote: On Tue, Jul 5, 2011 at 4:36 PM, Raghavendra D Prabhu wrote: * On Mon, Jul 04, 2011 at 11:38:30PM +0100, Peter Maydell wrote: On 4 July 2011 23:00, Raghavendra D Prabhu wrote: This is to avoid gcc optimizating out the

Re: [Qemu-devel] [PATCH 2/3] Add fno-strict-overflow

2011-07-05 Thread Raghavendra D Prabhu
* On Mon, Jul 04, 2011 at 11:38:30PM +0100, Peter Maydell wrote: On 4 July 2011 23:00, Raghavendra D Prabhu wrote: This is to avoid gcc optimizating out the comparison in assert, due to assumption of signed overflow being undefined by default (-Werror=strict-overflow). --- a/Makefile.hw

[Qemu-devel] [PATCH 2/3] Add fno-strict-overflow

2011-07-04 Thread Raghavendra D Prabhu
This is to avoid gcc optimizating out the comparison in assert, due to assumption of signed overflow being undefined by default (-Werror=strict-overflow). Signed-off-by: Raghavendra D Prabhu --- Makefile.hw |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile.hw b

[Qemu-devel] [PATCH 3/3] Avoid Wunsed-but-set warnings (or errors in case of Werror)

2011-07-04 Thread Raghavendra D Prabhu
In a few cases, variable attributed 'unused' has been added, in other cases unused variable has been either removed or commented out. Signed-off-by: Raghavendra D Prabhu --- hw/device-assignment.c |6 +++--- simpletrace.c |2 +- xen-mapcache.c |7 ++

Re: [Qemu-devel] [PATCH] Build fixes

2011-07-04 Thread Raghavendra D Prabhu
* On Sat, Jul 02, 2011 at 03:58:34PM +0100, Stefan Hajnoczi wrote: On Sat, Jul 2, 2011 at 3:06 PM, Raghavendra D Prabhu wrote:    With default configure, the qemu-kvm client build was failing for me    since Werror is enabled by default in configure.    Deprecations (gnutls), gcc signed

[Qemu-devel] [PATCH 1/3] Avoid the use of deprecated gnutls gnutls_*_set_priority functions.

2011-07-04 Thread Raghavendra D Prabhu
The gnutls_*_set_priority family of functions has been marked deprecated in 2.12.x. These functions have been superceded by gnutls_priority_set_direct(). Signed-off-by: Raghavendra D Prabhu --- ui/vnc-tls.c | 20 +--- 1 files changed, 1 insertions(+), 19 deletions(-) diff

[Qemu-devel] [PATCH 0/3] Build fixes

2011-07-04 Thread Raghavendra D Prabhu
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

[Qemu-devel] [PATCH] Build fixes

2011-07-02 Thread Raghavendra D Prabhu
-Id: <51b5cbebc488fc126339651120e923934fe29928.1309612724.git.rpra...@wnohang.net> From: Raghavendra D Prabhu Date: Sat, 2 Jul 2011 17:33:40 +0530 Subject: [PATCH 1/3] Avoid the use of deprecated gnutls gnutls_*_set_priority functions. The gnutls_*_set_priority family of functions has been marked depr