Subject: Re: Questions about iconv.h
To: Masao Uebayashi <>
From: None <>
List: tech-userlevel
Date: 10/27/2004 14:17:27
On Wed, Oct 27, 2004 at 12:27:30PM +0900, Masao Uebayashi wrote:
> > * Why iconv_t is defined as one struct (__tag_iconv_t)? [1]
> Maybe it needs to be some specific type?  (At least, it doesn't need
> to be void *.)

I don't think there is anything said about what can actually be
iconv_t.  At least I can't find anything in the Open Group docs.

> > I've been looking at GNU libiconv sources and GNU libc, and 
> > iconv_t is defined as "void *" too...
> I guess AbiWord inappropriately assumes GNU implementation?  If so, to
> be fixed is AbiWord.

The error in AbiWord suggests it treats __tag_iconv_t structure as a
forward declaration.  However, I can't seem to reproduce that
behaviour with simple test code.  What could possibly require an
actual content for the structure from C++ code?  I can't see anything
blatantly wrong with AbiWord code about that.

Quentin Garnier.