From: SourceForge.net <no...@so...> - 2008-03-19 16:51:09
|
Patches item #1875222, was opened at 2008-01-19 04:19 Message generated for change (Settings changed) made by ir0nh34d You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=302435&aid=1875222&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: Chris Sutcliffe (ir0nh34d) Summary: inlude/wchar.h: Calm the warning police. Initial Comment: The following quiets warnings from -Wprototypes ChangeLog 2008-01-19 Danny Smith <dannysmithusers.sourceforge.net * inclue/wchar.h (fwide): Add prototype and guard inline definition. (mbsinit): Likewise. Index: include/wchar.h =================================================================== RCS file: /cvs/src/src/winsup/mingw/include/wchar.h,v retrieving revision 1.27 diff -u -3 -p -r1.27 wchar.h --- include/wchar.h 3 Oct 2007 18:55:56 -0000 1.27 +++ include/wchar.h 19 Jan 2008 09:01:19 -0000 @@ -287,11 +287,15 @@ size_t __cdecl __MINGW_NOTHROW wcsrtombs int __cdecl __MINGW_NOTHROW wctob(wint_t); #ifndef __NO_ISOCEXT /* these need static lib libmingwex.a */ +int __cdecl __MINGW_NOTHROW fwide(FILE*, int); +int __cdecl __MINGW_NOTHROW mbsinit(const mbstate_t*); +#ifndef __NO_INLINE__ __CRT_INLINE int __cdecl __MINGW_NOTHROW fwide(FILE* __UNUSED_PARAM(stream), int __UNUSED_PARAM(mode)) {return -1;} /* limited to byte orientation */ __CRT_INLINE int __cdecl __MINGW_NOTHROW mbsinit(const mbstate_t* __UNUSED_PARAM(ps)) {return 1;} +#endif wchar_t* __cdecl __MINGW_NOTHROW wmemset(wchar_t *, wchar_t, size_t); wchar_t* __cdecl __MINGW_NOTHROW wmemchr(const wchar_t*, wchar_t, size_t); int wmemcmp(const wchar_t*, const wchar_t *, size_t); ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=302435&aid=1875222&group_id=2435 |