• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Enable Objective-C exception handling. [-fobjc-exceptions] causes additional warnings on pointers?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Enable Objective-C exception handling. [-fobjc-exceptions] causes additional warnings on pointers? (From: Ken Hawkins <email@hidden>)
 >Re: Enable Objective-C exception handling. [-fobjc-exceptions] causes additional warnings on pointers? (From: Randall Meadows <email@hidden>)

  • Prev by Date: Re: Grabing Disk Information
  • Next by Date: Re: Grabing Disk Information
  • Previous by thread: Re: Enable Objective-C exception handling. [-fobjc-exceptions] causes additional warnings on pointers?
  • Next by thread: Re: Enable Objective-C exception handling. [-fobjc-exceptions] causes additional warnings on pointers?
  • Index(es):
    • Date
    • Thread