Re: GCD and blocks cross development
Re: GCD and blocks cross development
- Subject: Re: GCD and blocks cross development
- From: Jean-Daniel Dupas <email@hidden>
- Date: Thu, 10 Sep 2009 16:00:01 +0200
I never said it will run before crashing ;-)
FWIW, clang refuses to compile block if deployment target < 10.6.
Le 10 sept. 2009 à 15:54, Steve Christensen a écrit :
I would expect that any external symbols would be weak-linked, just
like linking against any other 10.6-only symbol when your deployment
target is set to something pre-10.6. And if the symbol weren't weak-
linked, I would expect that the app would not load because it
couldn't find a symbol rather than actually running and then crashing.
On Sep 10, 2009, at 1:33 AM, Jean-Daniel Dupas wrote:
My main concern would be block runtime linking issues. When you use
blocks, the compiler generate call to the block runtime (libSystem
on SL), but does it generate weak symbol or will the program crash
at launch time on 10.5.
Note that a simple test will give the answer, but I don't have both
OS right now.
Le 10 sept. 2009 à 00:49, Steve Christensen a écrit :
My understanding is that GCD is only supported on 10.6 and later.
This means you'd need to have some sort of runtime check that
would perform your tasks without GCD if running on a pre-10.6 OS
version.
On Sep 9, 2009, at 3:04 PM, email@hidden wrote:
Sorry, not quite sure which list to hit here/
The Grand Central Dispatch headers seem to include availability
macros.
Does that mean we can cross development for a deployment target
of 10.5 with a 10.6 base SDK and use blocks and GCD?
-- Jean-Daniel
_______________________________________________
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