[Spice-devel] [vdagent-win PATCH V3 00/11] Fix compilation errors/warnings

Uri Lublin uril at redhat.com
Tue Dec 30 08:20:46 PST 2014


Specifically, fix building with Visual Studio.

Changes from V2:
  - Some more fixes/comments.
  - Leaving linux-like calls as is, and adding _s calls for VS builds
  - Some macros assume destination string params are arrays not pointer
    (this follows sticking with linux-like calls)

Uri Lublin (11):
  Fix compiler warning (missing backslash in FileXfer::handle_start)
  vdagent: as_user: reorder initialization to make mingw-gcc happy
  vdagent::handle_max_clipboard fix vd_printf format
  vdcommon.h: add comment about OLDMSVCRT
  vdcommon.h: do not redefine _ftime_s
  vdcommon.h: consolidate defines under OLDMSVCRT
  Fix building with Visual Studio (inttypes.h)
  Fix building with Visual Studio (snprintf)
  Fix Visual Studio compiler warning (strncpy)
  Fix Visual Studio compiler warning (strcat and sscanf)
  g_key_get_string: use size_t for pointer difference

 common/vdcommon.h     |   28 ++++++++++++++++++++++++++--
 vdagent/as_user.cpp   |    4 ++--
 vdagent/file_xfer.cpp |   11 +++++++++--
 vdagent/file_xfer.h   |    2 ++
 vdagent/vdagent.cpp   |    4 ++--
 5 files changed, 41 insertions(+), 8 deletions(-)



More information about the Spice-devel mailing list