Re: Cyclic import dependency causes compilation errors
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