Re: [Qemu-devel] [PATCH] Fix build error when VNC is configured out

2019-06-25 Thread Philippe Mathieu-Daudé
Hi Christophe, On 6/25/19 11:24 AM, Christophe de Dinechin wrote: > In hmp_change(), the variable hmp_mon is only used > by code under #ifdef CONFIG_VNC. This results in a build > error when VNC is configured out with the default of > treating warnings as errors: > > monitor/hmp-cmds.c: In functi

Re: [Qemu-devel] [PATCH] Fix build error when VNC is configured out

2019-06-25 Thread Markus Armbruster
Cc: David Gilbert Christophe de Dinechin writes: > In hmp_change(), the variable hmp_mon is only used > by code under #ifdef CONFIG_VNC. This results in a build > error when VNC is configured out with the default of > treating warnings as errors: > > monitor/hmp-cmds.c: In function ‘hmp_change’:

[Qemu-devel] [PATCH] Fix build error when VNC is configured out

2019-06-25 Thread Christophe de Dinechin
In hmp_change(), the variable hmp_mon is only used by code under #ifdef CONFIG_VNC. This results in a build error when VNC is configured out with the default of treating warnings as errors: monitor/hmp-cmds.c: In function ‘hmp_change’: monitor/hmp-cmds.c:1946:17: error: unused variable ‘hmp_mon’