Re: Why? Why? Why?
Re: Why? Why? Why?
- Subject: Re: Why? Why? Why?
- From: Peter Teeson <email@hidden>
- Date: Sun, 26 Aug 2012 09:42:58 -0400
What version of OS X are you on?
On 2012-08-26, at 9:36 AM, Luca Ciciriello wrote:
> Hi All.
>
> Statement 1): Compiler is always right.
>
> Xcode 4.4
> file .m
>
> @interface MyClass
> {
> int page;
> }
>
> end
>
> @implementation MyClass
>
> - (void)viewWillAppear:(BOOL)animated
> {
> [super viewWillAppear:animated];
>
> …
>
> page = 0;
> }
>
> - (void) myMethod
> {
> page++;
> if(page > 2)
> {
> page = 0;
> }
> }
>
> ...
>
> No problem at all building this code.
>
> Then
>
> Xcode 4.4.1
>
> Same file, same code.
>
> Xcode hanging building this file!!!
>
> Removing page = 0 in MyMethod all builds fine.
>
> Is "Statement 1)" correct?
>
>
> Luca.
>
>
>
>
> _______________________________________________
> 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