-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 9/29/2010 21:39, Dongsheng Song wrote: > On Wed, Sep 29, 2010 at 17:56, JonY <[email protected]> wrote: >> On 9/29/2010 16:34, Dongsheng Song wrote: >>> When I build libiconv NLS version, I can not run iconv.exe, which reference >>> a non-exist symbol 'wcsnlen', from lib32\msvcrt.def, I can see this symbol >>> after the following comments line: >>> >>> ; msvcr80.dll and later >>> >>> If we want to support Windows XP (SP3 or later), we should not include >>> symbols which not belong to msvcrt.dll: >>> >>> File Version: 7.0.2600.5512 (xpsp.080413-2111) >>> Product Version: 6.1.8638.5512 >> >> As far as I know, this is not a bug. That comment means that it is >> available with Windows 7. >> >> Until its reimplemented in libmingwex, the proper fix would be not to >> call it if you expect your program to run on earlier versions of windows. > > But we can not ensure third party software DO NOT call those functions, > so we must drop them or defined in guard blocks like this: > > /* Windows 7 */ > #if _WIN32_WINNT >= 0x0601 > #endif > > /* Windows Vista or Server 2008 */ > #if _WIN32_WINNT >= 0x0600 > #endif >
Hi, hacking the headers will not work due to how link tests work, linking will still succeed even without the prototype declared. Dropping them is also out of the question if we want to support Vista/7 users. You will need to fix up the third party applications that use them. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (MingW32) iEUEARECAAYFAkyjRIcACgkQp56AKe10wHfwDACePS6k5gEGUPrqrxhf4bNMN0PC Cf8AmOZLpZheCrmU8a2x9613laKX87Q= =fOWC -----END PGP SIGNATURE-----
0xED74C077.asc
Description: application/pgp-keys
------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
