• 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: Objective-C or C++ or something...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Objective-C or C++ or something...
      • From: Tom Sutcliffe <email@hidden>
References: 
 >Re: Objective-C or C++ or something... (From: "Alastair J.Houghton" <email@hidden>)

  • Prev by Date: Re: Objective-C or C++ or something...
  • Next by Date: Re: String Encoding Detection (Revisited)
  • Previous by thread: Re: Objective-C or C++ or something...
  • Next by thread: Re: Objective-C or C++ or something...
  • Index(es):
    • Date
    • Thread