From: SourceForge.net <no...@so...> - 2010-02-26 17:22:51
|
Patches item #2955991, was opened at 2010-02-21 17:56 Message generated for change (Comment added) made by crazyjacky You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=302435&aid=2955991&group_id=2435 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Jacky Lai (crazyjacky) Assigned to: Nobody/Anonymous (nobody) Summary: Fix swprintf/vswprintf when compiled with -ansi switch Initial Comment: Refer to https://sourceforge.net/tracker/index.php?func=detail&aid=2373234&group_id=2435&atid=102435 This patch implements swprintf() and vswprintf() as inline functions when __STRICT_ANSI__ is present It also handles correct ISO C declarations of swprintf() and vswprintf() in msvcr80.dll (http://msdn.microsoft.com/en-us/library/ybk95axf%28VS.80%29.aspx) ---------------------------------------------------------------------- >Comment By: Jacky Lai (crazyjacky) Date: 2010-02-27 01:22 Message: A new patch is attached. 1. The two functions are now implemented as inline functions in stdio.h/wchar.h 2, msvcr80.dll and msvcr90.dll do not export swprintf() or vswprintf(), so do not add them in corresponding def file ---------------------------------------------------------------------- Comment By: Jacky Lai (crazyjacky) Date: 2010-02-25 00:42 Message: I just found out that msvcr80.dll does not export the functions. I will post another patch tomorrow ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=302435&aid=2955991&group_id=2435 |