Re: Exception handling
Re: Exception handling
- Subject: Re: Exception handling
- From: Scott Thompson <email@hidden>
- Date: Thu, 30 Oct 2003 20:47:30 -0600
On Oct 30, 2003, at 5:40 PM, Prachi Gauriar wrote:
On Oct 30, 2003, at 3:40 PM, Frank Midgley wrote:
On Oct 30, 2003, at 1:51PM, Michael B. Johnson wrote:
Can anyone comment on why this isn't on by default? In other words,
what's the cost (execution speed or app size, or layout in address
space) of enabling this? I'd like to put it on by default for my
stuff, but I'm not sure if there are carrying costs like C++'s
exceptions...
I think the major issue is that it won't work with anything but
Panther. Since there are probably very few people developing just for
Panther right now, it's probably wise to leave it disabled.
-Prachi
That is a false statement.
I believe that someone said this earlier in the thread, but just to
make the point again, if you use the Objective-C exceptions that are
more "built-in" to the language, your code will continue to run just
fine in older versions of the OS. The _exact_ same mechanism is used
for the language-based exception handling that is used by the
macro-base exception handling.
You can only compile the language-based exceptions using gcc 3 (which
will run on Jaguar) but the resulting code is certainly NOT going to
limit your code to Panther only.
Scott
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.