| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On 3/21/06, Rush Manbert <email@hidden> wrote:
The only thing I have done to make this work, is to tell the project to "Compile Sources As" Objective C++. Maybe you need to do this so that it will search for standard library headers? (I don't know how this relates to your source file types. I don't mess with those.)
Changing "Compile Sources As" really shouldn't be needed (it most common situations). If a file contains Objective-C make it end in ".m". If a file contains C++ make it end in ".cpp". If a file contains C++ and Objective-C make it end in ".mm". Also if you have aspects of ".h" files that only should be compiled for C++ or Objective-C, etc. you can wrap them which the appropriate #ifdefs so they are only seen by the correct compiler (#ifdef __cplusplus, #ifdef __OBJC__, etc.).
- Rush _______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/xcode-users/email@hidden
| References: | |
| >I need clarification on limitations of integrating C++ with Obj C (From: John Draper <email@hidden>) | |
| >Re: I need clarification on limitations of integrating C++ with Obj C (From: Rush Manbert <email@hidden>) | |
| >Re: I need clarification on limitations of integrating C++ with Obj C (From: "Shawn Erickson" <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.