Subject: Question about iconv.h
To: None <tech-kern@netbsd.org>
From: Vincent <10.50@free.fr>
List: tech-kern
Date: 11/16/2003 00:23:04
Hi,
in /usr/include/iconv.h, the iconv_t type is defined as being pointing
to a void structure :
struct __tag_iconv_t;
typedef struct __tag_iconv_t *iconv_t;
This seems to work fine with gcc, but g++ does not like it (even when
enclosed in extern "C"), because it mistakes it by a forward
declaration (that happens to me when I try to compile Abiword).
Is there any definite purpose for that definition, or is it possible to
switch from a void structure towards, for example, a long or an int32
for __tag_iconv_t ?
Vincent