In clib2/include/wchar.h:
The prototype for vswprintf is wrong, the destination pointer is a simple char* while it should be a wchar_t*.
It should be
Code: Select all
int vswprintf(wchar_t* ws,const wchar_t* format,va_list arg);
Code: Select all
int vswprintf(wchar_t* ws,size_t len,const wchar_t* format,va_list arg);
In clib2/include/wctype.h:
at least towupper isn't implemented it seems, at least the linker complains that it doesn't exist.