• 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
Enable Objective-C exception handling. [-fobjc-exceptions] causes additional warnings on pointers?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Enable Objective-C exception handling. [-fobjc-exceptions] causes additional warnings on pointers?


  • Subject: Enable Objective-C exception handling. [-fobjc-exceptions] causes additional warnings on pointers?
  • From: Ken Hawkins <email@hidden>
  • Date: Wed, 28 Apr 2004 08:21:07 -0700

when i enable this for REAL exception syntax i get additional warnings coming up now concerning the folllowing:

SomeType var;

[foo withBar:&var]

will produce a discarding qualifier warning becuase foo normally takes a (*) and pass a reference (&). this is normal syntax and does not generate warnings with -fobjc-exceptions flag turned off. why is the exception flag causing this behavior? has anyone else seen this?

ken;
_______________________________________________
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.


  • Follow-Ups:
    • Re: Enable Objective-C exception handling. [-fobjc-exceptions] causes additional warnings on pointers?
      • From: Alex Perez <email@hidden>
    • Re: Enable Objective-C exception handling. [-fobjc-exceptions] causes additional warnings on pointers?
      • From: Randall Meadows <email@hidden>
  • Prev by Date: Re: iPhoto plugin source
  • Next by Date: can't get NSZombie to work
  • Previous by thread: Dragging webloc files within application
  • Next by thread: Re: Enable Objective-C exception handling. [-fobjc-exceptions] causes additional warnings on pointers?
  • Index(es):
    • Date
    • Thread