Re: [Qemu-devel] [PATCH] spice: Fix warning reg. 'defined' in macro

2016-08-08 Thread Paolo Bonzini
On 07/08/2016 03:25, Pranith Kumar wrote: > Clang produces the following warning. The warning is detailed here: > https://reviews.llvm.org/D15866 > > /home/pranith/devops/code/qemu/hw/display/qxl.c:507:5: warning: macro > expansion producing 'defined' has undefined behavior [-Wexpansion-to-defi

Re: [Qemu-devel] [PATCH] spice: Fix warning reg. 'defined' in macro

2016-08-08 Thread Paolo Bonzini
On 07/08/2016 03:25, Pranith Kumar wrote: > Clang produces the following warning. The warning is detailed here: > https://reviews.llvm.org/D15866 > > /home/pranith/devops/code/qemu/hw/display/qxl.c:507:5: warning: macro > expansion producing 'defined' has undefined behavior [-Wexpansion-to-defi

[Qemu-devel] [PATCH] spice: Fix warning reg. 'defined' in macro

2016-08-06 Thread Pranith Kumar
Clang produces the following warning. The warning is detailed here: https://reviews.llvm.org/D15866 /home/pranith/devops/code/qemu/hw/display/qxl.c:507:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if SPICE_NEEDS_SET_MM_TIME ^ /home/pranith/d