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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]