Re: Objective-C or C++ or something...
Re: Objective-C or C++ or something...
- Subject: Re: Objective-C or C++ or something...
- From: "M. Uli Kusterer" <email@hidden>
- Date: Fri, 8 Aug 2003 00:01:50 +0200
At 22:29 Uhr +0100 07.08.2003, Alastair J.Houghton wrote:
C++ has allowed declarations in the midst of code for some time
(possibly even since its invention, although my experiences of C++
don't stretch that far back).
I think it even was a feature of a late version of "C with Classes",
but I'm too lazy to look it up in Stroustrup right now.
Anyway, Seth's problem is that he's building with GCC 2.95, probably
because he installed the new developer tools (either separately or
as part of XCode). Project Builder gets confused and runs 2.95
instead of 3.3 or 3.1 unless you explicitly set a load of variables
in your target's Expert Settings view (the release notes for the new
developer tools say what you have to do; from what I remember, you
set GCC_VERSION to 3.3, CC to /usr/bin/gcc-3.3, and CPLUSPLUS to
/usr/bin/g++-3.3).
Setting GCC_VERSION should suffice. PB will take care of the rest.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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.