bug-gnulib
[Top][All Lists]
Advanced

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

Re: Alan Hourihane: [bug #24687] implicit usage of mbsinit & mbrtowc


From: Simon Josefsson
Subject: Re: Alan Hourihane: [bug #24687] implicit usage of mbsinit & mbrtowc
Date: Thu, 30 Oct 2008 14:07:56 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux)

Bruno Haible <address@hidden> writes:

> 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

Shouldn't these functions be declared in wchar.h instead?

http://www.opengroup.org/onlinepubs/009695399/functions/mbrtowc.html
http://www.opengroup.org/onlinepubs/009695399/functions/mbsinit.html

/Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]