This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [basic-improvements] try/finally support for c/c++ - more tests
Richard Henderson <rth@redhat.com> writes:
> On Wed, Nov 06, 2002 at 03:32:20PM -0800, Mark Mitchell wrote:
> > I do not think we should add exception support of any kind to GNU C; use
> > C++ if you want exceptions.
>
> See elsewhere about resistance compiling libc with a c++ compiler.
It wouldn't work, anyway. User programs can also use
pthread_cleanup_push/pthread_cleanup_pop, in C, so whatever mechanism
is used for that must be accessible to C.
--
- Geoffrey Keating <geoffk@geoffk.org>