Re: Forward references and backward compatibility
Re: Forward references and backward compatibility
- Subject: Re: Forward references and backward compatibility
- From: Jean-Daniel Dupas <email@hidden>
- Date: Tue, 03 Apr 2012 20:28:55 +0200
Le 3 avr. 2012 à 20:06, Martin Redington a écrit :
> Please let it be b)
>
> I'd noticed the disappearance of warning about this, but without
> researching it, thought that it was just a bug, rather than
> intentional …
Saying this feature is a bug is like saying that being able to declare a variable anywhere in a block is a bug.
It's a great improvement IMHO.
Unfortunately, there is actually no way to get warnings about possible incompatibility with older compilers.
>
> On 3 April 2012 18:07, Jens Alfke <email@hidden> wrote:
>> Since upgrading to Xcode 4.3, I find myself checking in code that has forward references to methods within an @implementation block. It's very easy to do this without explicitly intending to. I like not having to forward-declare methods anymore, but it causes errors for people who try to build the project using Xcode 4.2.
>>
>> How are other projects dealing with this? It seems like the options are
>> (a) Upgrade the project requirements to Xcode 4.3; or
>> (b) Enable some hypothetical compiler flag that will re-enable the forward-reference errors (is there one?)
>>
>> —Jens
>> _______________________________________________
>> 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
> Please consider the environment before printing this email.
> ------------------------------------------------------------------
> Visit guardian.co.uk - newspaper of the year
>
> www.guardian.co.uk www.observer.co.uk www.guardiannews.com
>
> On your mobile, visit m.guardian.co.uk or download the Guardian
> iPhone app www.guardian.co.uk/iphone
>
> To save up to 30% when you subscribe to the Guardian and the Observer
> visit www.guardian.co.uk/subscriber
> ---------------------------------------------------------------------
> This e-mail and all attachments are confidential and may also
> be privileged. If you are not the named recipient, please notify
> the sender and delete the e-mail and all attachments immediately.
> Do not disclose the contents to another person. You may not use
> the information for any purpose, or store, or copy, it in any way.
>
> Guardian News & Media Limited is not liable for any computer
> viruses or other material transmitted with or as part of this
> e-mail. You should employ virus checking software.
>
> Guardian News & Media Limited
>
> A member of Guardian Media Group plc
> Registered Office
> PO Box 68164
> Kings Place
> 90 York Way
> London
> N1P 2AP
>
> Registered in England Number 908396
>
>
> _______________________________________________
> 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
-- 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