XCode 3.0 isysroot ignored by objective-C++ files
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?
|
_______________________________________________
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