This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libobjc/27466] RFE: Support for libobjc equivalent of std::set_unexpected
- From: "ayers at fsfe dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Feb 2009 05:24:35 -0000
- Subject: [Bug libobjc/27466] RFE: Support for libobjc equivalent of std::set_unexpected
- References: <bug-27466-8051@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from ayers at fsfe dot org 2009-02-26 05:24 -------
Created an attachment (id=17365)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17365&action=view)
Alternative patch using a callback hook
This patch was posted as an RFA:
http://gcc.gnu.org/ml/gcc-patches/2009-02/msg01086.html
With the following ChangeLog entry:
2009-02-23 Richard Frith-Macdonald <rfm@gnu.org>
David Ayers <ayers@fsfe.org>
PR libobjc/27466
* objc/objc-api.h (_objc_unexpected_exception): Declare new
hook.
* exception.c (objc_exception_throw): Use hook.
* libobjc.def (_objc_unexpected_exception): Export hook.
2009-02-23 David Ayers <ayers@fsfe.org>
PR libobjc/27466
* objc/execute/exceptions/handler-1.m. New.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27466