I've no objections. I only ask for opinions from the list.
Earnie.
Danny Smith wrote:
>
>
> I would like to add declarations for the functions in libisocext.a into the
> standard mingw headers. This would include putting this into wchar.h:
>
> #ifndef __NO_ISOCEXT /* minimalist versions are in static lib libisocext.a
> */
> extern inline int fwide(FILE* stream, int mode) {return -1;} /* limited to
> byte orientation */
> extern inline int mbsinit(const mbstate_t* ps) {return 1;}
> long long wcstoll(const wchar_t* __restrict__ nptr,
> wchar_t** __restrict__ endptr, int base);
> unsigned long long wcstoull(const wchar_t* __restrict__ nptr,
> wchar_t ** __restrict__ endptr, int base);
> wchar_t* wmemset(wchar_t* s, wchar_t c, size_t n);
> wchar_t* wmemchr(const wchar_t* s, wchar_t c, size_t n);
> int wmemcmp(const wchar_t* s1, const wchar_t * s2, size_t n);
> wchar_t* wmemcpy(wchar_t* __restrict__ s1, const wchar_t* __restrict__ s2,
> size_t n);
> wchar_t* wmemmove(wchar_t* s1, const wchar_t* s2, size_t n);
> #endif /* __NO_ISOCEXT */
>
> and this into stdlib.h
>
> #ifndef __NO_ISOCEXT /* minimalist versions are in static lib libisocext.a
> */
> long long
> strtoll (const char* __restrict__ nptr,
> char ** __restrict__ endptr, int base);
> unsigned long long
> strtoull (const char* __restrict__ nptr,
> char ** __restrict__ endptr, int base);
> long long
> wcstoll (const wchar_t* __restrict__ nptr,
> wchar_t ** __restrict__ endptr, int base);
> unsigned long long
> wcstoull (const wchar_t* __restrict__ nptr, wchar_t ** __restrict__ endptr,
> int base);
> #endif /* __NO_ISOCEXT */
>
> and would add the file inttypes.h
>
> These functions are needed for wchar and long long support in libstdc++-v3.
>
> Any comments?
>
> Danny
>
> http://briefcase.yahoo.com.au - Yahoo! Briefcase
> - Manage your files online.
>
> _______________________________________________
> MinGW-dvlpr mailing list
> MinGW-dvlpr@...
> https://lists.sourceforge.net/lists/listinfo/mingw-dvlpr
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
|