[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #16437] Native Objective-C exception handling patch for -base and -
From: |
Sašo Kiselkov |
Subject: |
[bug #16437] Native Objective-C exception handling patch for -base and -make |
Date: |
Tue, 25 Apr 2006 12:59:16 +0000 |
User-agent: |
|
URL:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=16437>
Summary: Native Objective-C exception handling patch for
-base and -make
Project: GNUstep
Submitted by: diablos
Submitted on: Tuesday 04/25/06 at 12:59
Category: Base/Foundation
Severity: 3 - Normal
Item Group: Change Request
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
_______________________________________________________
Details:
I've been using native Objective-C exception handling for a while now (since
GCC 4.0 is out, almost a year) and I've gotten into the situation where it
would be nice for GNUstep itself to use it, so I've made a few changes to
-base and -make to do it.
How it works:
- made -make define the a _NATIVE_OBJC_EXCEPTIONS macro when compiling with
native Objective-C exceptions support.
- changed NSException's header to define NS_DURING and exception-related
macros to use native exceptions in case _NATIVE_OBJC_EXCEPTIONS is defined.
- changed -[NSException raise] to "@throw self:" in case
_NATIVE_OBJC_EXCEPTIONS.
Patches with the details are attached.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tuesday 04/25/06 at 12:59 Name: gnustep-native-exceptions.tar.bz2
Size: 1.03KB By: diablos
Patch to add native exceptions to -base and -make.
<http://savannah.gnu.org/bugs/download.php?file_id=9833>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=16437>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #16437] Native Objective-C exception handling patch for -base and -make,
Sašo Kiselkov <=