Re: XCode Newbie Having Trouble Getting Started, Any Advice..?
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