qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix Windows build issues with newer MinGW
@ 2025-12-15 16:45 phind.uet
  2025-12-15 16:45 ` [PATCH 1/2] qga/vss-win32: Fix ConvertStringToBSTR redefinition " phind.uet
  2025-12-15 16:45 ` [PATCH 2/2] util: Move qemu_ftruncate64 from block/file-win32.c to oslib-win32.c phind.uet
  0 siblings, 2 replies; 9+ messages in thread
From: phind.uet @ 2025-12-15 16:45 UTC (permalink / raw)
  To: Paolo Bonzini, marcandre.lureau, berrange, philmd,
	Kostiantyn Kostiuk, Michael Roth, Kevin Wolf, Hanna Reitz,
	Stefan Weil
  Cc: Nguyen Dinh Phi, qemu-block, qemu-devel

From: Nguyen Dinh Phi <phind.uet@gmail.com>

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(-)

-- 
2.43.0



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-12-17 18:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-15 16:45 [PATCH 0/2] Fix Windows build issues with newer MinGW phind.uet
2025-12-15 16:45 ` [PATCH 1/2] qga/vss-win32: Fix ConvertStringToBSTR redefinition " phind.uet
2025-12-16  6:26   ` Marc-André Lureau
2025-12-16  9:53     ` Kostiantyn Kostiuk
2025-12-17 18:13       ` Pierrick Bouvier
2025-12-16 23:00   ` Pierrick Bouvier
2025-12-15 16:45 ` [PATCH 2/2] util: Move qemu_ftruncate64 from block/file-win32.c to oslib-win32.c phind.uet
2025-12-15 17:33   ` Philippe Mathieu-Daudé
2025-12-16 23:00   ` Pierrick Bouvier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).