Re: Cannot declare variables in the middle anymore
Re: Cannot declare variables in the middle anymore
- Subject: Re: Cannot declare variables in the middle anymore
- From: Thomas Harrington <email@hidden>
- Date: Tue, 8 Jul 2003 11:31:53 -0600
On Tuesday, July 8, 2003, at 07:40 AM, Alastair J.Houghton wrote:
Amazing!!!
I have been developing software on Cocoa since 2001.... and I was
always
able to declare variables in the middle of the methods. I have
thousands of
lines of code with variables declared in the middle of the method.
For sure!
And it worked very well.
And even if I upgraded from OS X 10 throught 10.2.6 and from the
first to
the last version of Developer Tools, I was able to do that all the
time.
What should I think? Maybe I have to mark some check-box?
Maybe in my machine something has been corrupted?
You've accidentally switched to gcc 2.95 in Project Builder; this
happens when you install XCode or the GCC 3.3 update (check the
release notes for the GCC 3.3 update for more information on how to
use GCC 3.3 from Project Builder if that was what you wanted to do).
To change back to GCC 3.1, go to a terminal window and enter "sudo
gcc_select 3.1". Your builds should start working again (you might
have to restart Project Builder).
If you prefer not to make this switch globally, you can change it on a
per-project basis by setting GCC_VERSION to 3.1 in the project build
settings.
--
Tom Harrington
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.