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

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

 



On Mon, Oct 13, 2014 at 05:26:17PM +0300, Uri Lublin wrote:
> Finally got to give your suggestion a try.
> My system is Fedora 20, with mingw32-headers-3.2.0-1.fc20.noarch installed.
> 
> At first I was able to build with strcat_s, but the program failed to run on
> Windows XP, claiming it was missing that function.
> As you've mention sscanf_s needs to be declared in the src file, but the
> program
> failed to run on Windows XP, claiming it was missing that function. (This
> should
> probably be added to mingw's sec_api/string.h)
> After playing with it, I was able to make it work, by linking with
> -lmsvcr100
> and installing "Microsoft Visual C++ 2010 redistributable (x86)" on the
> Windows XP.

But when building with vc++, you can use strcat_s without installing
this runtime?

Christophe

Attachment: pgpiprq003gtj.pgp
Description: PGP signature

_______________________________________________
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]