• 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: XCode Newbie Having Trouble Getting Started, Any Advice..?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XCode Newbie Having Trouble Getting Started, Any Advice..?


  • Subject: Re: XCode Newbie Having Trouble Getting Started, Any Advice..?
  • From: Chris Espinosa <email@hidden>
  • Date: Thu, 20 Dec 2007 09:06:04 -0800


On Dec 20, 2007, at 3:16 AM, Alex Drinkwater wrote:

This leads me to wonder:
Is it the case that any sort of function, including
the most basic conditionals, will cause the project to
fail to compile if it's nested inside another
function? This seems really odd, as every other
language I've used/seen allows this.
Googling around the issue, it looks like this may be
'old news', but I haven't been able to find a solution
yet. Is this only an issue with C code, and won't be a
problem with Obj-C? If this is the case, then I can
probably skip the examples in C, and jump to the
chapter on Objective C.

Xcode's gcc compiler dropped support for nested functions in Xcode version 2.1 when we added support for compiling for the Intel chips, because the gcc implementation of nested functions relied on a method that was inherently vulnerable to exploits (it required the processor stack to be marked as executable). So, yes, you'll need a different set of examples to learn a modern Xcode.


Chris
_______________________________________________
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: 
 >XCode Newbie Having Trouble Getting Started, Any Advice..? (From: Alex Drinkwater <email@hidden>)

  • Prev by Date: Re: Problem running on 10.3 when building with Xcode 3.0: NSAffineTransform not found in Foundation
  • Next by Date: Re: Embedding framework, pbxcp No such file or directory
  • Previous by thread: RE: XCode Newbie Having Trouble Getting Started, Any Advice..?
  • Next by thread: Re: XCode Newbie Having Trouble Getting Started, Any Advice..?
  • Index(es):
    • Date
    • Thread