Skip to content

Fix Windows build issues with newer MinGW

[email protected] qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesIn review
  2. v12 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- Use links() instead of compiles() to dectect the definition of ConvertStringToBSTR() in meson.build

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2qga/vss-win32: Fix ConvertStringToBSTR redefinition with newer MinGWmeson.build qga/vss-win32/install.cpp+14 -02 replies
2/2util: Move qemu_ftruncate64 from block/file-win32.c to oslib-win32.cblock/file-win32.c util/oslib-win32.c+34 -321 reply

Reviews trailers per patch

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

PatchPhilippe Mathieu-DaudéPierrick BouvierKostiantyn Kostiuk
1/2R-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/2] Fix Windows build issues with newer MinGW

From: Nguyen Dinh Phi <[email protected]>

This series fixes build issues when compiling QEMU on Windows with newer MinGW-w64 toolchains.

Patch 1 addresses a redefinition error for ConvertStringToBSTR(), which is now provided by newer MinGW versions in <comutil.h>.

Patch 2 relocates qemu_ftruncate64() to a more appropriate location.

Nguyen Dinh Phi (2):
qga/vss-win32: Fix ConvertStringToBSTR redefinition with newer MinGW
util: Move qemu_ftruncate64 from block/file-win32.c to oslib-win32.c

 block/file-win32.c        | 32 --------------------------------
 meson.build               | 12 ++++++++++++
 qga/vss-win32/install.cpp |  2 ++
 util/oslib-win32.c        | 34 ++++++++++++++++++++++++++++++++++
 4 files changed, 48 insertions(+), 32 deletions(-)

---
V2:
- Use links() instead of compiles() to dectect the definition of ConvertStringToBSTR() in meson.build

Signature · 1 line
2.43.0