• 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: When adding Cocoa classes I get a lot of compile errors automatically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: When adding Cocoa classes I get a lot of compile errors automatically


  • Subject: Re: When adding Cocoa classes I get a lot of compile errors automatically
  • From: Scott Ribe <email@hidden>
  • Date: Mon, 3 Jan 2011 14:12:32 -0700

On Jan 3, 2011, at 2:05 PM, Jason T. Slack-Moehrle wrote:

> I do have the Cocoa framework added and in my pch I am using
>
> #ifdef __OBJC__
> 	#import <Cocoa/Cocoa.h>
> #endif

Well, that would have been my first guess. Second guess, does your Objective-C source file name end with the .m extension? (Or .mm if you are using C++ code from within it?) Third guess, are any C++ include files in your pch wrapped in #ifdef __cplusplus?

If neither of the above is the problem, you may need to post a sampling of some of the errors.

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




_______________________________________________

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: When adding Cocoa classes I get a lot of compile errors automatically
      • From: "Jason T. Slack-Moehrle" <email@hidden>
    • Re: When adding Cocoa classes I get a lot of compile errors automatically
      • From: "Jason T. Slack-Moehrle" <email@hidden>
References: 
 >When adding Cocoa classes I get a lot of compile errors automatically (From: "Jason T. Slack-Moehrle" <email@hidden>)

  • Prev by Date: When adding Cocoa classes I get a lot of compile errors automatically
  • Next by Date: Re: Rendering combining marks
  • Previous by thread: When adding Cocoa classes I get a lot of compile errors automatically
  • Next by thread: Re: When adding Cocoa classes I get a lot of compile errors automatically
  • Index(es):
    • Date
    • Thread