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

Re: Nested Functions


  • Subject: Re: Nested Functions
  • From: Alastair Houghton <email@hidden>
  • Date: Thu, 7 Aug 2008 14:16:23 +0100

On 7 Aug 2008, at 04:45, Nick Zitzmann wrote:

That would be the "other C flags" setting in the target, though I'd recommend you get rid of the nested function if possible. Nested functions are Evilâ„¢.

Nested functions aren't evil per-se, and in many cases they would be a very clean way to get things done, if it weren't for the fact that they're an extension and are turned off by default and the fact that GCC generates stack-resident trampolines to implement them (thus relying on the stack being executable, which it isn't by default on Intel machines these days).


Kind regards,

Alastair.

--
http://alastairs-place.net



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Nested Functions (From: Gerald Coleman <email@hidden>)
 >Re: Nested Functions (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: Why MallocDebug shows HEX addressed but not C++ names?
  • Next by Date: Re: Xcode's Editor losing text encoding
  • Previous by thread: Re: Nested Functions
  • Next by thread: Re: Nested Functions
  • Index(es):
    • Date
    • Thread