Re: ZeroLink: Perhaps better disabled per default?
Re: ZeroLink: Perhaps better disabled per default?
- Subject: Re: ZeroLink: Perhaps better disabled per default?
- From: Andreas Grosam <email@hidden>
- Date: Fri, 14 Oct 2005 02:41:33 +0200
While I fully agree with j o a r, I would like to mention, that this code snippet will compile without errors:
// file: foo.c
extern void bar(); // prototype
void foo() {
boar(); // typo
}
Don't expect errors when
compiling with a
C compiler. It even will not complain when the -pedantic or -Wmissing-prototypes flags are on.
This is because it is completely valid and legal code.
Sure, it won't link.
To get rid of it:
- use C++
Regards
Andreas
On 13.10.2005, at 23:51, Scott Tooker wrote:
On Oct 13, 2005, at 2:09 PM, j o a r wrote:
On 13 okt 2005, at 22.52, Chris Espinosa wrote:
What's up? Why isn't Xcode complaining about an unknown function call on compile?
because you're building a Development version with Zero Link enabled?
Is it really such a good idea to have ZeroLink enabled for Debug builds per default?
Over the years it has caused _countless_ problems for inexperienced developers, developers who probably have smaller projects that don't benefit much from ZeroLink in any case.
Wouldn't you much rather answer a few questions on how to improve link times during development, than the innumerable ones caused by the various fuzzy side effects from using ZeroLink without knowing about it, and it's limitations and drawbacks?
While the default state isn't changing in the next release, we are adding a menu item so you can globally turn on/off use of ZeroLink without having to muck with any build settings, moving ZeroLink towards more of a "mode of development" than a traditional build setting.
Scott
j o a r
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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