That was because the 'libmsvcrt.a' library was created using a new version of 
MSVCRT.DLL which exported the function, but the MSVCRT.DLL shipped with Windows 
XP didn't.

------------------                               
lh_mouse
2015-12-30

-------------------------------------------------------------
发件人:Roger Pack <rogerdpa...@gmail.com>
发送日期:2015-12-30 06:11
收件人:mingw-w64-public
抄送:
主题:[Mingw-w64-public] vsnprintf_s found by default though not present
        in XP, expected?

As a note, if configure scripts today look for
vsnprintf_s
they find it "present"
however, this causes
“the procedure entry point _vsnprintf_s could not be located in the
dynamic library msvcrt.dll”
on XP boxes.  Just calling it out in case this is expected or not, as
it somewhat surprised me.

$ grep vsnprintf_s . -r
Binary file ./cross_compilers/build/crt/lib64/libmingwex.a matches
Binary file ./cross_compilers/build/crt/lib64/libmsvcrt.a matches

Thanks all.
-roger-

------------------------------------------------------------------------------
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public



------------------------------------------------------------------------------
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to