preparing 0.9.30.2

rhabarber1848 rhabarber1848 at web.de
Tue Oct 20 12:16:08 UTC 2009


Am Tue, 20 Oct 2009 12:01:30 +0200 schrieb Bernhard Reutner-Fischer:

> Could you try something like the attached?

Hi,

this patch does not fix my problem because

typedef struct __uclibc_locale_struct {

in libc/sysdeps/linux/common/bits/uClibc_locale.h is still encapsulated
by "#if defined _LIBC" and therefore removed by unifdef.

The compilation error with patched gcc-3.4.6 is

monetary_members.cc: In member function `void std::moneypunct<_CharT, 
_Intl>::_M_initialize_moneypunct(int*, const char*) [with _CharT = 
wchar_t, bool _Intl =  true]':
monetary_members.cc:412: error: `__global_locale' was not declared in 
this scope
monetary_members.cc: In member function `void std::moneypunct<_CharT, 
_Intl>::_M_initialize_moneypunct(int*, const char*) [with _CharT = 
wchar_t, bool _Intl =  false]':
monetary_members.cc:570: error: `__global_locale' was not declared in 
this scope

I know the patch[1] is not in use upstream and __global_locale is not 
intented to be used in user space apps. This was discussed in depth in 
February 2009 already.

Your _LIBC_INTERNAL_H in Makefile.in hack seems not to be needed in my 
case.

Cheers, rhabarber1848

[1] https://bugs.busybox.net/show_bug.cgi?id=53



More information about the uClibc mailing list