[Top][All Lists]

[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


                 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



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

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.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]