Subject: Re: Questions about iconv.h
To: T.SHIOZAKI <tshiozak@netbsd.org>
From: Juan RP <juan@xtraeme.nopcode.org>
List: tech-userlevel
Date: 10/28/2004 12:49:33
--Signature=_Thu__28_Oct_2004_12_49_33_+0200_x5rZBYK6PF9Sk1nd
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Thu, 28 Oct 2004 19:47:07 +0900 (JST)
"T.SHIOZAKI" <tshiozak@netbsd.org> wrote:

> Not bug.  3rd paragraph of 15.1 of ISO C++ says:
> 
> The type of the throw-expression shall not be an incomplete type, or a
> pointer or reference to an incomplete type, other than void*, const
> void*, volatile void*, or const volatile void*.
> 
> 
> > (No idea how to fix / work-around from me.)
> 
> +/* For throw/catch expression.  (c.f. ISO C++ 15.1/3, 15.3/1, 15.4/1) */
> +#ifdef __cplusplus
> +struct __tag_iconv_t {};
> +#else
> struct __tag_iconv_t;
> +#endif
> typedef struct __tag_iconv_t *iconv_t;

Thanks Takuya... that works perfectly! will you commit? :)

--Signature=_Thu__28_Oct_2004_12_49_33_+0200_x5rZBYK6PF9Sk1nd
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iD8DBQFBgM69ypkLYVDran0RApFjAJ4wXqmabB1NX6wdRNN67u4dnb9uZwCfQImf
QDrHepMZghuJd9MuyBJHBGk=
=uh+o
-----END PGP SIGNATURE-----

--Signature=_Thu__28_Oct_2004_12_49_33_+0200_x5rZBYK6PF9Sk1nd--