Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src



On Mon, Mar 10, 2003 at 23:18:51 +0200, Takuya SHIOZAKI wrote:

> Modified Files:
>       src/lib/libc/locale: rune.h runeglue.c runetype.h
>       src/usr.bin/mklocale: lex.l yacc.y
> 
> Log Message:
> rename _CTYPE_x to _RUNETYPE_x for avoiding compile error on FreeBSD.

It still fails on 4.x.  As I wrote in the previous email, we probably
want to include *our* ctype.h when building mklocale as a host tool.
NB, mklocale doesn't *use* host's ctype.h services.

At ther very least it needs:

#if defined(__FreeBSD__)
#define _DONT_USE_CTYPE_INLINE_
#endif

as it expects its own runetype.h but gets ours.


Even then it fails with

/nb/src/lib/libc/locale/runetype.h:53: redefinition of `rune_t'
/usr/include/stdlib.h:46: `rune_t' previously declared here


Thanks for looking into this!

SY, Uwe
-- 
uwe%ptc.spbu.ru@localhost                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen



Home | Main Index | Thread Index | Old Index