[uClibc] WCHAR in uClibc 0.9.21

Rogelio M.Serrano Jr. rogelio at smsglobal.net
Thu Nov 13 03:12:08 UTC 2003


On 2003-11-13 10:26:56 +0800 Manuel Novoa III <mjn3 at codepoet.org> 
wrote:

> Hello,
> 
> On Wed, Nov 12, 2003 at 01:21:07PM -0800, Wen Yang wrote:
>> I have just tried the 0.9.21 for the full Locale support.
>> 
>> When I compiled the libvmime using arm-uclibc-g++, I got two 
>> problems:
>> 
>> 1. it complained about std::wstring not defined. I used a workaround:
>> add _GLIBCPP_USE_WCHAR_T to the DEFS of the libvmine Makefile
>> 2. it complained about wcsftime not defined. Then I used anohter
>> workaround: in uClibc include/c++/cwchar, comment LINE 168 of "using
>> ::wcsftime;"
>> 
>> Why would it give those errors?
> 
> Because wcsftime is not yet implemented (the last C99 function to do)
> and because I need to make fix some things so that 
> _GLIBCPP_USE_WCHAR_T
> will be enabled when building libstdc++.  Thanks for bringing that to

Is it also the reason why i need to define _LIBC in uClibc_locale.h 
just
before building libstdc++ in gcc-3.3.2 and removing the define after 
building
everything? The libstdc++ build fails because __uclibc_locale_t is 
undeclared
otherwise.

> my attention.  I'll make sure it works when I start working on locale
> issues again in December.
> 
>> Would my workarounds cause any problem?
> 
> I wouldn't be surprised.  Actually, I'd be surprised if it didn't
> cause problems.
> 
> Manuel
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://uclibc.org/mailman/listinfo/uclibc
> 




More information about the uClibc mailing list