https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63651
Bug ID: 63651 Summary: Lot of failures in obj(c|-c++) with yosemite Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: dominiq at lps dot ens.fr CC: howarth at bromo dot med.uc.edu, iains at gcc dot gnu.org Host: x86_64-apple-darwin14 Target: x86_64-apple-darwin14 Build: x86_64-apple-darwin14 I get a lot of failures in obj(c|-c++) with yosemite (4.9.2 and 5.0, see https://gcc.gnu.org/ml/gcc-testresults/2014-10/msg02799.html). AFAICT they are of the kind FAIL: objc.dg/headers.m -fnext-runtime (test for excess errors) Excess errors: /usr/include/objc/NSObject.h:22:4: error: unknown type name 'instancetype' /usr/include/objc/NSObject.h:36:4: error: unknown type name 'instancetype' /usr/include/objc/NSObject.h:38:4: error: unknown type name 'instancetype' /usr/include/objc/NSObject.h:60:4: error: unknown type name 'instancetype' /usr/include/objc/NSObject.h:62:4: error: unknown type name 'instancetype' /usr/include/objc/NSObject.h:63:4: error: unknown type name 'instancetype' /usr/include/objc/NSObject.h:64:4: error: unknown type name 'instancetype' /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:187:110: error: expected ')' before '^' token /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:187:112: error: expected ')' before '(' token /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:188:41: error: expected ')' before '^' token /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:188:43: error: expected ')' before '(' token