• 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
Xcode cocoa project with c++
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode cocoa project with c++


  • Subject: Xcode cocoa project with c++
  • From: _ _ <email@hidden>
  • Date: Fri, 14 Dec 2007 12:23:30 +0000 (GMT)

Hi
i'm writing a project wihich will use mix of objective-c and c++.
I've created a bundle with added c+ files and i'm trying to build that bundle.
My c++ files has h/cpp extensions and bundle has option to compile files depending on the extension.
On compile i got a lot of errors (more than 2000).
Seems that xcode is looking through the headers of the cocoa foundation framework and find there alot of 'errors'.
f.e.: In file NSObjCRuntime.h it has found that string
    @class NSString;
has error
    expected unqualified-id before '@' token

how i can fix that problem ?
PS:those c++ files has no imports of any cocoa headers, but use xerces headers; compiled xerces framework with added headers is added to the main project

thanx


---------------------------------
 Yahoo! Answers - Get better answers from someone who knows. Tryit now.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Xcode cocoa project with c++
      • From: "Shawn Erickson" <email@hidden>
  • Prev by Date: Re: NSData Silently Failing to Write on Leopard
  • Next by Date: CoreData huge memory usage - is this right ?
  • Previous by thread: Customizing Horizontal Scrollbar
  • Next by thread: Re: Xcode cocoa project with c++
  • Index(es):
    • Date
    • Thread