• 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: Exception handling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exception handling


  • Subject: Re: Exception handling
  • From: "Michael B. Johnson" <email@hidden>
  • Date: Thu, 30 Oct 2003 11:51:33 -0800

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...


On Oct 30, 2003, at 10:28 AM, Chris Hanson wrote:

On Oct 29, 2003, at 9:53 AM, Frank Midgley wrote:
To enable the new syntax, you must pass the '-fobjc-exceptions' options to the ObjC/ObjC++ compiler, and/or set the MACOSX_DEPLOYMENT_TARGET environment variable to "10.3".

In Xcode, to pass the option to the compiler you put it in OTHER_C_FLAGS in the build info for a target.


  -- Chris

--
Chris Hanson, bDistributed.com, Inc. | Email: email@hidden
Custom Mac OS X Development | Phone: +1-847-372-3955
http://bdistributed.com/ | Fax: +1-847-589-3738
http://bdistributed.com/Articles/ | Personal Email: email@hidden
_______________________________________________
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.


--> Michael B. Johnson, PhD
--> http://homepage.mac.com/drwave (personal)
--> http://xenia.media.mit.edu/~wave (alum)
--> Film On Line Lead
--> Pixar Animation Studios
_______________________________________________
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.

  • Follow-Ups:
    • Re: Exception handling
      • From: Chris Hanson <email@hidden>
    • Re: Exception handling
      • From: Scott Thompson <email@hidden>
    • Re: Exception handling
      • From: Scott Tooker <email@hidden>
    • Re: Exception handling
      • From: Frank Midgley <email@hidden>
References: 
 >Exception handling (From: Martin-Gilles Lavoie <email@hidden>)
 >Re: Exception handling (From: ryan <email@hidden>)
 >Re: Exception handling (From: Frank Midgley <email@hidden>)
 >Re: Exception handling (From: Chris Hanson <email@hidden>)

  • Prev by Date: Re: -fomit-frame-pointer ?
  • Next by Date: Re: Committing changes to the project file in Xcode
  • Previous by thread: Re: Exception handling
  • Next by thread: Re: Exception handling
  • Index(es):
    • Date
    • Thread