Skip to content

Fix compiler warnings on Fedora 35 / CLang

Daniel P. Berrangé qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ui: avoid compiler warnings from unused clipboard info variableui/clipboard.c+1 -23 replies
2/2spice: Update QXLInterface for spice >= 0.15.0hw/display/qxl.c include/ui/qemu-spice.h ui/spice-display.c+30 -12 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchRichard HendersonPhilippe Mathieu-Daudé
1/2R-b R-b T-b
2/2A-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2 for 6.2] Fix compiler warnings on Fedora 35 / CLang

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(-)
Signature · 1 line
2.33.1