• 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: Cyclic import dependency causes compilation errors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cyclic import dependency causes compilation errors


  • Subject: Re: Cyclic import dependency causes compilation errors
  • From: Ricky Sharp <email@hidden>
  • Date: Sat, 18 Feb 2006 20:59:50 -0600


On Feb 18, 2006, at 7:21 PM, Alexander Hartner wrote:

I have two classes which depend on each other. The LDAP attribute contains an array of LDAPAttributeValues. Each LDAPAttribute contains a reference to it's parent LDAPAttribute. Yet as soon as I compile this with the line #import "LDAPAttribute.h un-commented, I get an compilation error:

Add a forward...

@class LDAPAttribute;

@interface LDAPAttributeValue : NSObject
{
    LDAPAttribute* parentAttribute;
}
@end

___________________________________________________________
Ricky A. Sharp         mailto:email@hidden
Instant Interactive(tm)   http://www.instantinteractive.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


References: 
 >Cyclic import dependency causes compilation errors (From: Alexander Hartner <email@hidden>)

  • Prev by Date: Re: Cyclic import dependency causes compilation errors
  • Next by Date: Re: When exactly does a fault get fired?
  • Previous by thread: Cyclic import dependency causes compilation errors
  • Next by thread: Re: Cyclic import dependency causes compilation errors
  • Index(es):
    • Date
    • Thread