XCode 4.2 Compiler Error
问题 When I create a new Project with XCode 4.2 (a Single View iOS App, for instance) the main.m-File in the "Supporting Files"-Folder looks like: #import <UIKit/UIKit.h> #import "iiiAppDelegate.h" int main(int argc, char *argv[]) { int retVal = 0; @autoreleasepool { retVal = UIApplicationMain(argc, argv, nil, NSStringFromClass([iiiAppDelegate class])); } return retVal; } The Compiler Setting (in Build Settings) is the Apple 3.0 LLVM. When I change it to GCC 4.2 or GCC4.2 LLVM it shown errors with