bug-gnu-libiconv
[Top][All Lists]
Advanced

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

Re: [bug-gnu-libiconv] Sporadical Issues with GNU libiconv when using C+


From: Pedro F. Giffuni
Subject: Re: [bug-gnu-libiconv] Sporadical Issues with GNU libiconv when using C++
Date: Mon, 27 Feb 2012 19:38:06 -0800 (PST)


--- Gio 23/2/12, Bruno Haible <address@hidden> ha scritto:

> Pedro F. Giffuni wrote:
> > 
> > I tried the patch but unfortunately the issue
> persists:
> > 
> > ...
> > /usr/local/include/iconv.h:123: error: 'mbstate_t' does
> not name a type
> 
> Now I cannot guess any more. You need to check whether
>   a) the problem is caused by specific C++ compiler
> options that you pass,
>   b) whether #include <wchar.h> results in
> defining mbstate_t in C++ mode,
> or whether the problem is in iconv.h.
> 
> Bruno
> 

One "innocent" question:

Do you really need mbstate_t in iconv.h ?

I have been told that the iconv.h from glibc doesn't use
it and it's rather suspicious to see it #ifdef 1 here.

cheers,

Pedro.



reply via email to

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