编译器抱怨这个,我激活的所有类型的警告后:
我有一个应用程序委托是这样的:
#import <UIKit/UIKit.h>
@class MyViewController;
@interface TestAppDelegate : NSObject <UIApplicationDelegate> {
UIWindow *window;
MyViewController *myViewController;
}
@property (nonatomic, retain) IBOutlet UIWindow *window;
@property (nonatomic, retain) IBOutlet MyViewController *myViewController;
@end
在实现文件中,我有合成的代码:
@synthesize window;
@synthesize rootViewController;
在实现文件的末尾,编译器会抱怨:
At top level:
warning: passing argument 3 of 'objc_setProperty' as signed due to prototype
warning: passing argument 5 of 'objc_setProperty' with different width due to prototype
warning: passing argument 6 of 'objc_setProperty' with different width due to prototype
warning: passing argument 3 of 'objc_setProperty' as signed due to prototype
warning: passing argument 5 of 'objc_setProperty' with different width due to prototype
warning: passing argument 6 of 'objc_setProperty' with different width due to prototype
这意味着什么? 我必须担心吗?