Re: [Mingw-w64-public] vsnprintf_s found by default though not present in XP, expected?
Exactly for such cases we add emulation-code to our libmingwex.a. To have it within the .def file for msvcrt is for sure nothing we want. Instead we should add an emulation-code for it, as we did already for other such functions. See in our crt the sec_api folder. Regards, Kai 2016-01-09 18:33 GMT+01:00 Roger Pack: > On 12/29/15, lh_mouse wrote: >> 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. > > Yes, I guess the question is (currently the default mechanism can > present executables that don't work on XP, because configure cannot > easily detect the absence of vsnprintf_s) is this desired? Or if that > ship has sailed, that's OK too. > -roger- > > -- > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140 > ___ > Mingw-w64-public mailing list > Mingw-w64-public@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140 ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] vsnprintf_s found by default though not present in XP, expected?
On 12/29/15, lh_mousewrote: > 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. Yes, I guess the question is (currently the default mechanism can present executables that don't work on XP, because configure cannot easily detect the absence of vsnprintf_s) is this desired? Or if that ship has sailed, that's OK too. -roger- -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140 ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] vsnprintf_s found by default though not present in XP, expected?
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发送日期: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
[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