[Spice-devel] [PATCH 00/20] vdagent mingw compilation
Christophe Fergeau
cfergeau at redhat.com
Thu Mar 1 02:17:34 PST 2012
Hi,
This patch series fixes most of the issues I had when trying to compile
vdagent-win with mingw. It also adds an autotools-based build system since
as a more convenient way of building with mingw.
With these patches, vdagent can nearly be compiled using mingw.
There are still a few pending issues related to unicode support, and
no handling of windows resources.
I've tested that this doesn't break VisualC++ builds.
Christophe
Christophe Fergeau (20):
mingw: fix format string warnings
mingw: don't redefine SIZE_MAX
mingw: disable vc-specific #pragma
mingw: use gcc attributes for struct packing
mingw: use explicit std:: namespace for min/max
mingw: fix header case
mingw: remove unused variable
mingw: fix initialization list order for VDAgent()
mingw: use unsigned int in for loops when needed
mingw: workaround "use of unitialized var" warning
mingw: fix signed/unsigned comparison warning
mingw: workaround ximage.h #defining min/max
mingw: don't redefine CTL_CODE if it's already defined
mingw: use const char * in DisplaySetting()
mingw: fix another signed/unsigned warning
mingw: fix format string for wchar_t
mingw: add autotools build system
mingw: workaround _ftime_s bug
mingw: make sure unicode support is enabled
mingw: add Visual C++ files to EXTRA_DIST
Makefile.am | 48 ++++++++++
common/stdint.h | 2 +
common/vdcommon.h | 14 +++-
common/vdlog.cpp | 2 +-
common/vdlog.h | 10 ++-
configure.ac | 87 ++++++++++++++++++
git.mk | 200 +++++++++++++++++++++++++++++++++++++++++
vdagent/desktop_layout.cpp | 40 +++++++--
vdagent/display_setting.cpp | 55 ++++++------
vdagent/display_setting.h | 2 +-
vdagent/vdagent.cpp | 76 ++++++++--------
vdservice/pci_vdi_port.cpp | 9 ++-
vdservice/vdi_port.cpp | 2 +-
vdservice/vdservice.cpp | 50 +++++-----
vdservice/virtio_vdi_port.cpp | 10 +-
15 files changed, 495 insertions(+), 112 deletions(-)
create mode 100644 Makefile.am
create mode 100644 configure.ac
create mode 100644 git.mk
--
1.7.7.6
More information about the Spice-devel
mailing list