Re: NSObjCRuntime.h won't compile? Or .mm files?
Re: NSObjCRuntime.h won't compile? Or .mm files?
- Subject: Re: NSObjCRuntime.h won't compile? Or .mm files?
- From: Bob Sabiston <email@hidden>
- Date: Fri, 23 Sep 2005 10:22:49 -0500
Well there ya go. That "-x c++" needs to be "-x objective-c++". (And there should only be one of them). Now we just need to find out why it isn't.
Can you check your Other C Flags in your target settings and see if "-x c++" is set there?
Chris
I took that out, and now the .mm file compiles!
However, taking that out seems to have caused trouble with some of my ".c" files. One of them gave me compile errors, and I switched the name of it to ".cpp" and it worked. However, now it is compiling and giving me unknown symbols for a few functions that are defined in .c files.
Do all of my .c files need to be .cpp, then? Or is there a way to get it to compile those as they are?
Thanks Bob
|
_______________________________________________
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