• 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
Help with recursive includes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help with recursive includes


  • Subject: Help with recursive includes
  • From: Aaron Wallis <email@hidden>
  • Date: Sun, 22 Feb 2009 10:27:36 +1100

Hi all,

I'm working on a project which is much larger than what i'm used to, and i've come up to a bit of a brick wall.
When I compile my application, I start getting build errors caused by recursive imports.
I'm sure there's an easy way to get around it, but it currently alludes me.


Here's a screen shot of my error:
http://www.quicksnapper.com/d2kagw/image/untitled-0011

if I remove the #import "TMPSTManagedFile.h" from the header of the class and change it to @class TMPSTManagedFile the error goes away, and the application *would* run fine, if I didn't start getting errors caused from the ObjC 2.0 style property accessors like:
TMPSTManagedFile *tFile = [blah blah];
NSLog(@"%@", tFile.name);


In which case I start getting errors like:
Error: request for member 'name' in something not a structure or union

Any ideas?

Cheers
Aaron.
_______________________________________________

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: Help with recursive includes
      • From: Kiel Gillard <email@hidden>
    • Re: Help with recursive includes
      • From: Luke the Hiesterman <email@hidden>
  • Prev by Date: NSTreeController Content Array as index accessor object -- what is the <Key>?
  • Next by Date: Re: Help with recursive includes
  • Previous by thread: Re: NSTreeController Content Array as index accessor object -- what is the <Key>?
  • Next by thread: Re: Help with recursive includes
  • Index(es):
    • Date
    • Thread