Re: Zerolink Yet Again...
Re: Zerolink Yet Again...
- Subject: Re: Zerolink Yet Again...
- From: "Shawn Erickson" <email@hidden>
- Date: Thu, 25 Oct 2007 09:42:10 -0700
On 10/25/07, Phil Hystad <email@hidden> wrote:
> OK, I think every question I have asked on this forum so far has been
> about zero link and yet again I have a question.
>
> I was stumped by a zero link error so I turned zero link off and got
> a half-dozen other errors on my project -- more then I expected.
> Yes, I do admit this is the first time I turned off zero link on this
> particular set of code but still. All the errors were justified but
> I was surprised that I needed to disable zero link to see them.
> Errors like multiple defined variables and functions (I as gluing two
> different systems together) were the bulk of the problems.
>
> So, is it true that if you are using debug and zero link enabled that
> such valuable information on your project build is ignored?
Zero link means that no linking is done at compile time, deferring it
to runtime. The type of errors you are hitting will only be known when
linking takes place... so if no linking takes place at compile time
Xcode cannot warn you about those errors.
The intent of Zero Link is to avoid the time spent linking to speed up
the debug/fix cycle of development (minor fixes followed by trips into
the debugger to verify, etc). You shouldn't have it enabled when you
are doing large changes / bulk development.
Of course in general Zero Link has been more trouble then it was worth
for most developers, so most folks don't use it... in fact it is going
away IIRC.
-Shawn
_______________________________________________
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