• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: xcode & c++ again
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xcode & c++ again


  • Subject: Re: xcode & c++ again
  • From: Scott Ribe <email@hidden>
  • Date: Sun, 04 Mar 2012 07:34:58 -0700

I you include C++ headers into Objective-C, that's Objective-C++, and must be compiled as such--exactly as others have said.

On Mar 4, 2012, at 5:07 AM, Livio Isaia wrote:

> I apologize if this may be boring, only want to specify that the problems (error: expected '=', ',', ';', 'asm' or '__attribute__' before 'X3DBaseDataObject when compiling c++ file in mixed oobjective-c & c++ project) arise when I include (<#include "myFile.h">) the c++ file in other objective-c files in order to use the newly created classes. If I don't include it anywhere it compiles correctly, but I can't use the classes...
> I tried everything, but still can't resolve the matter.
>


--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice





 _______________________________________________
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


References: 
 >xcode & c++ again (From: Livio Isaia <email@hidden>)

  • Prev by Date: xcode & c++ again
  • Next by Date: Re: The One True Stage Re: Xcode - AN APPLE OPPORTUNITY!
  • Previous by thread: xcode & c++ again
  • Next by thread: Re: How to do Intel style inline assembly with LLVM 3.0?
  • Index(es):
    • Date
    • Thread