• 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
adding Foundation framework to a Carbon application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

adding Foundation framework to a Carbon application


  • Subject: adding Foundation framework to a Carbon application
  • From: Donald Hall <email@hidden>
  • Date: Fri, 18 Nov 2005 23:26:30 -0700

I have a small carbon application that I had working fine. I wanted to add some code that uses Foundation classes (NSAppleScript and NSString), so added the Foundation framework to my project. Upon compiling all hell broke loose - over 1500 errors, all related to the '#import <Foundation/Foundation.h>' statement.

Here is a typical error message:

error: syntax error at '@' token

They all seem to have to do with the fact that Foundation is Obj-C.

I have several Foundation apps that include Carbon without problems.

Is there something special I have to do to the project to get it to work?

Thanks,

Don
--
Donald S. Hall, Ph.D.
Apps & More Software Design, Inc.
email@hidden
http://www.appsandmore.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: adding Foundation framework to a Carbon application
      • From: Daniel Jalkut <email@hidden>
  • Prev by Date: using NSPopUpButtonCell
  • Next by Date: Re: adding Foundation framework to a Carbon application
  • Previous by thread: Re: using NSPopUpButtonCell
  • Next by thread: Re: adding Foundation framework to a Carbon application
  • Index(es):
    • Date
    • Thread