This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: #pragma GCC java_exceptions - now with documentation!
- To: Zack Weinberg <zackw at stanford dot edu>
- Subject: Re: #pragma GCC java_exceptions - now with documentation!
- From: Richard Henderson <rth at redhat dot com>
- Date: Mon, 30 Apr 2001 09:25:09 -0700
- Cc: gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- References: <20010427173854.V11683@stanford.edu>
On Fri, Apr 27, 2001 at 05:38:54PM -0700, Zack Weinberg wrote:
> I'd like to have an example, but I'm not good enough
> with C++ to know when this pragma is necessary.
Whenever a unit of translation only uses EH for destructors.
struct S { ~S(); };
extern void bar();
void foo()
{
S s;
bar();
}
r~