Simple error crashes hang Xcode

I created the simplest possible program for the iPhone, a window-based program. I just modified the testappdelegate.h file as follows:

#import <UIKit/UIKit.h>

@interface TestAppDelegate : NSObject <UIApplicationDelegate> {
    UIWindow *window;
    int pos[10]10]; //note the error here.
}

@property (nonatomic, retain) IBOutlet UIWindow *window;

@end

Note the error in the line "int pos ...".

When I try to compile this program, Xcode freezes (showing millions of errors). I am not asking how to fix the line, the correction is obvious.

The problem is that Xcode is overloading and I want to know why?

Update: Error Message Sent Error Identifier # 8406197

Update2: September 24th. I received a response from Apple Engineering that provided the following information:

We do not plan to fix this in llvm-gcc or gcc, and it is already fixed in clang. Xcode is not freaking out tracked in the clone of this error.

, .

+5
2

, Xcode , , , .

, http://bugreport.apple.com/.

, , , , , . ; Xcode , , .

, . , . , .

# SO. Apple SO , .

+8

, , .

, , , , , .

+1

All Articles