Subject: Re: Questions about iconv.h
To: None <>
List: tech-userlevel
Date: 10/28/2004 19:47:07
From: Masao Uebayashi <>
Subject: Re: Questions about iconv.h
Date: Thu, 28 Oct 2004 18:37:40 +0900 (JST)
Message-ID: <>

> And this seems a GCC bug.

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 {};
struct __tag_iconv_t;
typedef struct __tag_iconv_t *iconv_t;