Re: [Spice-devel] spice client using Certificate and ipv6 question

2014-03-24 Thread bigclouds
centos6.3 spice-gtk-0.20-11.el6.x86_64 spice-server-0.12.2-1.el6.x86_64 spice-glib-0.20-11.el6.x86_64 virt-viewer-0.5.6-8.el6.x86_64 i think the problem is related to spice-glib, g_network_address_new. maybe glib has some problems. it is ok if it is ::1(local lo ipv6), outside ipv6 and local

[Spice-devel] [vdagent-win V2 2/6] Fix building with Visual Studio (snprintf)

2014-03-24 Thread Uri Lublin
This commit partially reverts 4b9e9b1d28ea7eaec44ff73e2f91c4064986b12a Building with Visual Studio breaks as snprintf is not implemented: vdagent\file_xfer.cpp(198) : error C3861: 'snprintf': identifier not found Replace it with sprintf_s, which apparently is implemented in mingw too. --- vdag

[Spice-devel] [vdagent-win V2 4/6] Fix Visual Studio compiler warning (sscanf/strcat)

2014-03-24 Thread Uri Lublin
This commit partially reverts 4b9e9b1d28ea7eaec44ff73e2f91c4064986b12a. Visual Studio complains about non-safe sscanf and strcat: vdagent\file_xfer.cpp(89) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use

[Spice-devel] [vdagent-win V2 1/6] Fix building with Visual Studio (inttypes.h)

2014-03-24 Thread Uri Lublin
As a followup of commit 462295d9f84658aa7. Building with Visual Studio, fails as there is no inttypes.h file: vdagent\file_xfer.cpp(21) : fatal error C1083: Cannot open include file: 'inttypes.h': No such file or directory This commit prevents including inttypes.h when building with Visual St

[Spice-devel] [vdagent-win V2 0/6] Fix compilation error/warnings

2014-03-24 Thread Uri Lublin
Changes from v1: Better log messages The VS patch of V1 is now multiple patches Uri Lublin (6): Fix building with Visual Studio (inttypes.h) Fix building with Visual Studio (snprintf) Fix Visual Studio compiler warning (strncpy) Fix Visual Studio compiler warning (sscanf/s

[Spice-devel] [vdagent-win V2 5/6] Fix compiler warning (missing backslash)

2014-03-24 Thread Uri Lublin
Visual Studio complains: vdagent\file_xfer.cpp(85) : warning C4129: '%' : unrecognized character escape sequence Replace "%s\%s" with "%s\\%s" --- vdagent/file_xfer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vdagent/file_xfer.cpp b/vdagent/file_xfer.cpp index 3bed1b1

[Spice-devel] [vdagent-win V2 6/6] vdagent: as_user: reorder initialization to make mingw-gcc happy

2014-03-24 Thread Uri Lublin
Fixes compiler warning that starts with: In file included from vdagent/as_user.cpp:19:0: vdagent/as_user.h: In constructor 'AsUser::AsUser(DWORD)': vdagent/as_user.h:35:10: warning: 'AsUser::_started' will be initialized after [-Wreorder] bool _started; --- vdagent/as_user.cpp | 4 ++-- 1 f

[Spice-devel] [vdagent-win V2 3/6] Fix Visual Studio compiler warning (strncpy)

2014-03-24 Thread Uri Lublin
Visual Studio complains: vdagent\file_xfer.h(28) : warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. Replace strncpy with strcpy_s, which is impleme

Re: [Spice-devel] spice-gtk v.23 build issues under a 32bit Gentoo Linux

2014-03-24 Thread Christophe Fergeau
On Sun, Mar 23, 2014 at 10:37:48PM +0100, Toralf Förster wrote: > Maybe I've to dive into the ebuild for the (rather complicated) configure > step of the Gentoo ebuild - > OTOH I'm just wondering if this is a known bug and already fixed in a later > version ? This is caused by your use of --dis

Re: [Spice-devel] spice client using Certificate and ipv6 question

2014-03-24 Thread Christophe Fergeau
Hey, On Sun, Mar 23, 2014 at 08:27:32PM +0800, bigclouds wrote: > hi,all > i have two questions about certificate and ipv6 > > 1. > on windows, i install spice-client, it can connect its vm throught ipv6 > throught console.vv.(delete two charachters [ ] of ipv6 address first). If RHEV generate

[Spice-devel] spice-gtk v.23 build issues under a 32bit Gentoo Linux

2014-03-24 Thread Toralf Förster
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hello, while trying to adapt under a stable 32 bit Gentoo Linxux the ebuild for spice-gtk v0.21 to v 0.23 I run into this issue : ... libtool: link: i686-pc-linux-gnu-gcc -std=gnu99 -O2 -march=native -pipe -g -ggdb -Wl,-O1 -Wl,--as-needed -o util