• 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
XCode 3.0 isysroot ignored by objective-C++ files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XCode 3.0 isysroot ignored by objective-C++ files


  • Subject: XCode 3.0 isysroot ignored by objective-C++ files
  • From: Dominic Feira <email@hidden>
  • Date: Mon, 26 Nov 2007 21:04:17 -0500

I'm in the process of moving a project over to XCode 3.0.  The project is XCode 2.4 compatible that generates a uB using gcc 4.0.  I've run into an issue where my .mm files are including files from /usr/include instead of from the 10.4.u.sdk that is specified.  If I rename the .mm files to .m then this problem goes away.  Of course then my C++ doesn't compile at all...

The error generated doesn't show an include hierarchy.  It appears that the headers are implicitly included.

The command issue to compile the .mm file does include -isysroot /Developer/SDKs/MacOSX10.4u.sdk.  I didn't make any changes to the project other than trying the offending file with .m instead of .mm.  

Has anybody else run into this?  Have any ideas?  


Dominic Feira / Code Monkey /  Ambrosia Software, Inc. -- http://www.AmbrosiaSW.com



 _______________________________________________
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

  • Prev by Date: Instruments hangs
  • Next by Date: Re: silencing linker warnings
  • Previous by thread: Instruments hangs
  • Next by thread: How do you get at the raw g++ compiler output?
  • Index(es):
    • Date
    • Thread