Current QEMU git master caused compiler warnings on Fedora 35 when using CLang. It is expected to affect any distro with CLang >= 13.0.0
Since QEMU builds with -Werror by default we should fix these warnings before release, as this version of QEMU will increasing trigger the warnings as more distros pull in CLang >= 13.0.0 The spice patch was from John's series at https://lists.gnu.org/archive/html/qemu-devel/2021-11/msg01056.html I pulled out this patch on its own as the above series isn't likely suitable for merging as a whole during freeze. The clipboard patch is an alternative impl to what John posted. Daniel P. Berrangé (1): ui: avoid compiler warnings from unused clipboard info variable John Snow (1): spice: Update QXLInterface for spice >= 0.15.0 hw/display/qxl.c | 14 +++++++++++++- include/ui/qemu-spice.h | 6 ++++++ ui/clipboard.c | 3 +-- ui/spice-display.c | 11 +++++++++++ 4 files changed, 31 insertions(+), 3 deletions(-) -- 2.33.1