Hello again,
Sorry for all the questions. I keep thinking it is almost through. Xcode is trying to compile a .mm file I have in my project, it is some CoreImage stuff that uses Objective C, but this is overall a C++ application. In Codewarrior this compiles fine, but Xcode is not having it. I get this error in NSObjCRuntime,h:
System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:56: error: expected unqualified-id before '@' token
Caused by the following from that header file:
@class NSString;
I actually don't include that .h file--I assume it is part of the #import <Cocoa/Cocoa.h> at the beginning of my file:
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4
#import <Cocoa/Cocoa.h> #import <QuartzCore/QuartzCore.h>
Is there some trick to getting a .mm Objective C file to compile in Xcode?
Thanks! Bob
|