Re: Enable Objective-C exception handling. [-fobjc-exceptions] causes additional warnings on pointers?
Re: Enable Objective-C exception handling. [-fobjc-exceptions] causes additional warnings on pointers?
- Subject: Re: Enable Objective-C exception handling. [-fobjc-exceptions] causes additional warnings on pointers?
- From: Andrew Pinski <email@hidden>
- Date: Wed, 28 Apr 2004 18:20:51 -0400
On Apr 28, 2004, at 12:02, Randall Meadows wrote:
@try {
AppleEvent aeReply;
...
// The following line would generate the bogus warning if
// aeReply was declared outside the try block.
[self unmount:&aeReply];
...
} @catch
...
For some reason @try/@catch marks some (but should not in my view)
variables
as volatile-able.
This makes the variable above be declared as: "volatile AppleEvent
aeReply".
Thanks,
Andrew Pinski
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.