|Mar 19, 2007, 02:33 PM||#1|
Xcode project (GCC) is compiling my ObjC++ files as C
Hey, I'm trying to compile a project that contains ObjC++ and C++ files. The problem is that GCC is compiling the files as C/ObjC. The build log had this flag
Btw, I can upload the project if needed.
|Mar 19, 2007, 03:49 PM||#3|
You can use .cpp as well.
Under Project/Project Settings there is a Build Tab. In there there should be an option for 'Compile Source As'. On my system it's set as 'According to File Type', but I guess you could force it to C++.
Also under preferences File Types the file types for source code are under text/sourcecode… but I'm not sure what to do with them. I doubt that they would need 'fixing' anyway.
b e n
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Xcode 4 and non-C compilers||mbarriault||Mac Programming||3||Aug 6, 2011 06:51 PM|
|Xcode project git repo backup?||pulsewidth947||iPhone/iPad Programming||0||Jul 24, 2011 03:35 AM|
|Switching to ICC compiler from XCode project||shooting.breeze||Mac Programming||0||Sep 28, 2009 02:39 PM|
|Help unistalling Xcode 3.1.1 and all related files as well as...||Dragonlance1561||Mac Programming||4||Apr 23, 2009 12:58 PM|
|Why can't I compile my java files in xcode?||debo||Mac Applications and Mac App Store||2||Jan 19, 2004 12:59 AM|
All times are GMT -5. The time now is 02:49 PM.