|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
140 /tmp> <q.m
#import <Cocoa/Cocoa.h>
@interface X:NSObject
@property(assign) id delegate;
@end
static X *x=nil;
void fnc() {
[(x=(X*)[[X alloc] init]).delegate class];
}
141 /tmp> cc -c q.m -fobjc-gc-only
q.m: In function 'fnc':
q.m:7: error: request for member 'delegate' in something not a structure or union
142 /tmp>
--Andy
_______________________________________________ Do not post admin requests to the list. They will be ignored. Objc-language mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
| References: | |
| >another compiler bug, or do I overlook something? (From: Ondřej Čada <email@hidden>) | |
| >Re: another compiler bug, or do I overlook something? (From: Ladd Van Tol <email@hidden>) | |
| >Re: another compiler bug, or do I overlook something? (From: Ondřej Čada <email@hidden>) |
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.