[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Alan Hourihane: [bug #24687] implicit usage of mbsinit & mbrtowc
From: |
Albert Chin |
Subject: |
Re: Alan Hourihane: [bug #24687] implicit usage of mbsinit & mbrtowc |
Date: |
Tue, 9 Dec 2008 12:39:12 -0600 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Thu, Oct 30, 2008 at 12:42:48PM +0100, Bruno Haible wrote:
> Hello Sergey,
>
> > > This renders compilation of 4.13 inoperable on these systems, and
> > > you get the build errors below....
> > >
> > > display.o:display.o:(.text+0x786): undefined reference to `mbrtowc'
> > > display.o:display.o:(.text+0x78c): undefined reference to `mbsinit'
>
> The problem is that texinfo's info.h includes mbiter.h
> unconditionally, whereas the module description in gnulib specifies
> this:
>
> Include:
> #if HAVE_MBRTOWC
> #include "mbiter.h"
> #endif
>
> Now I see that you have 9 functions in
> texinfo/info/{display.c,session.c,window.c} which use the mbiter
> facility unconditionally, and you probably have no interest in adding
> fallback code for older systems for each of these functions.
>
> I'll therefore extend the modules in a way that they work also on older
> systems without HAVE_MBRTOWC.
>
> Something like this. Probably also adding replacements for btowc and mbrtowc.
>
> [ snip snip ]
Any plans to commit the patch?
--
albert chin (address@hidden)
- Re: Alan Hourihane: [bug #24687] implicit usage of mbsinit & mbrtowc,
Albert Chin <=
- Re: Alan Hourihane: [bug #24687] implicit usage of mbsinit & mbrtowc, Bruno Haible, 2008/12/21
- Re: Alan Hourihane: [bug #24687] implicit usage of mbsinit & mbrtowc, Alan Hourihane, 2008/12/22
- Re: MINT, Bruno Haible, 2008/12/22
- Re: MINT, Alan Hourihane, 2008/12/22
- Re: MINT, Bruno Haible, 2008/12/22
- Re: MINT, Alan Hourihane, 2008/12/22
- Re: MINT, Bruno Haible, 2008/12/22
- Re: MINT, Alan Hourihane, 2008/12/22
- Re: MINT, Bruno Haible, 2008/12/22