• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Forward references and backward compatibility
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Forward references and backward compatibility


  • Subject: Re: Forward references and backward compatibility
  • From: Sean McBride <email@hidden>
  • Date: Thu, 05 Apr 2012 15:50:26 -0400
  • Organization: Rogue Research Inc.

On Thu, 5 Apr 2012 12:37:02 -0700, Jens Alfke said:

>This thread kind of went off on a tangent about whether forward
>references are a feature or a bug, and I didn't get an answer to my
>actual question about whether there's a compiler flag to disable the
>feature, i.e. make it an error to call a method before the point where
>it's defined.

I think the lack of answer is your answer.  No one knows of such a flag.

>If there isn't one, I think maintainers of open-source Cocoa project
>will probably just need to bite the bullet and require Xcode 4.3,
>because there's no practical way of detecting when you're making a
>change that will introduce a build error in 4.2 and earlier.

You could set up continuous buildbots, in VMs maybe, that run older versions of Xcode.

(PS: This nice addition to the compiler is one of the reasons I switched from Xcode 3 to 4.3.  But I think I regret it. :))

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada



 _______________________________________________
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


References: 
 >Forward references and backward compatibility (From: Jens Alfke <email@hidden>)
 >Re: Forward references and backward compatibility (From: Jens Alfke <email@hidden>)

  • Prev by Date: Application Loader broken by latest Java security update?
  • Next by Date: Re: Application Loader broken by latest Java security update?
  • Previous by thread: Re: Forward references and backward compatibility
  • Next by thread: Xcode 4.3 puts compiler flags in User-Defined for Bundles
  • Index(es):
    • Date
    • Thread