Re: Does ARC require LLVM 3.0?
Re: Does ARC require LLVM 3.0?
- Subject: Re: Does ARC require LLVM 3.0?
- From: Matt Neuburg <email@hidden>
- Date: Mon, 12 Dec 2011 22:50:51 -0800
On Sun, 11 Dec 2011 20:19:24 -0500, Owen Hartnett <email@hidden> said:
>
>I've just run into a project that has ARC turned on, but the compiler is set to LLVM GCC-4.2. I was under the impression that ARC really required LLVM 3.0. Am I mistaken or is this an illegal combination
Not illegal, but ineffectual. All you're doing, I believe, is setting a compiler flag that this compiler won't know how to interpret and will ignore. (And of course if any ARC terms like "strong" are used in the code, this compiler won't understand them and the project won't compile.)
Of course maybe someone thought all you had to do was switch that setting to ARC and the project would just *be* ARC. That isn't completely silly; it used to be that if you switched from an iPhone app to a Universal app, a dialog came up and offered to help you turn the target into a universal app target (and did a remarkably good job of it too). Those days seem to be gone, alas... m.
--
matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
Programming iOS 4!
http://www.apeth.net/matt/default.html#iosbook _______________________________________________
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