From: SourceForge.net <no...@so...> - 2008-07-02 05:08:47
|
Patches item #2008476, was opened at 2008-07-02 17:08 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=302435&aid=2008476&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: Danny Smith (dannysmith) Assigned to: Nobody/Anonymous (nobody) Summary: Guard non standard [v]swprintf decalrations Initial Comment: The MSVCRT prototypes for [v]swprintf are non-ANSI. ISO C90 specifies: int swprintf (wchar_t *wcs, size_t maxlen, const wchar_t *format, ...); int vswprintf(wchar_t *wcs, size_t maxlen, const wchar_t *format, va_list args); This patch protects the MSVCRT declarations with !__STRICT_ANSI__. OK to commit? ChangeLog 2008-07-02 Danny Smith <dannysmith@users,sourceforge.net> * include/stdio.h (swprint, vswprint): Guard with #ifndef __STRICT_ANSI__ * include/wchar.h (swprint, vswprint): Likewise. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=302435&aid=2008476&group_id=2435 |