Forum Replies Created
		Viewing 2 posts - 1 through 2 (of 2 total)
	
	- 
		AuthorPosts
 - 
		
			
				
I’ve updated xcode to version 8 and now compiles well. So this might be the Solution for compile errors like these
I’ve got xcode 6.3.2 installed and similar build failures:
Monkey12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485Build error: System command 'g++ -c -std=c++14 -mmacosx-version-min=10.9 -Wno-deprecated-declarations -Wno-tautological-pointer-compare -Wno-undefined-bool-conversion -Wno-int-to-void-pointer-cast -Wno-inconsistent-missing-override -Wno-logical-op-parentheses -Wno-parentheses-equality -O3 -DNDEBUG -I"/Applications/Monkey2-v1.1.07/modules/" -I"/Applications/Monkey2-v1.1.07/modules/monkey/native" -o "/Applications/Monkey2-v1.1.07/modules/monkey/monkey.buildv1.1.07/macos_release/build/_1_1_1native_2bbstring.mm.o" "/Applications/Monkey2-v1.1.07/modules/monkey/native/bbstring.mm"' failed.g++ -c -std=c++14 -mmacosx-version-min=10.9 -Wno-deprecated-declarations -Wno-tautological-pointer-compare -Wno-undefined-bool-conversion -Wno-int-to-void-pointer-cast -Wno-inconsistent-missing-override -Wno-logical-op-parentheses -Wno-parentheses-equality -O3 -DNDEBUG -I"/Applications/Monkey2-v1.1.07/modules/" -I"/Applications/Monkey2-v1.1.07/modules/monkey/native" -o "/Applications/Monkey2-v1.1.07/modules/monkey/monkey.buildv1.1.07/macos_release/build/_1_1_1native_2bbstring.mm.o" "/Applications/Monkey2-v1.1.07/modules/monkey/native/bbstring.mm"warning: unknown warning option '-Wno-inconsistent-missing-override' [-Wunknown-warning-option]In file included from /Applications/Monkey2-v1.1.07/modules/monkey/native/bbstring.mm:2:In file included from /Applications/Monkey2-v1.1.07/modules/monkey/native/bbstring.h:5:In file included from /Applications/Monkey2-v1.1.07/modules/monkey/native/bbtypes.h:5:In file included from /Applications/Monkey2-v1.1.07/modules/monkey/native/bbstd.h:6:In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:10:In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:6:/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:7:15: error: expected ';' after @class@class NSArray<ObjectType>;^/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:7:16: error: cannot find protocol declaration for 'ObjectType'@class NSArray<ObjectType>;^/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:34:25: error: cannot find protocol declaration for 'ObjectType'@interface NSEnumerator<ObjectType> : NSObject <NSFastEnumeration>^/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:34:37: error: expected unqualified-id@interface NSEnumerator<ObjectType> : NSObject <NSFastEnumeration>^/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:36:13: error: expected ')'- (nullable ObjectType)nextObject;^/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:36:3: note: to match this '('- (nullable ObjectType)nextObject;^/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:40:25: error: cannot find protocol declaration for 'ObjectType'@interface NSEnumerator<ObjectType> (NSExtendedEnumerator)^/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:40:1: error: duplicate interface definition for class 'NSEnumerator'@interface NSEnumerator<ObjectType> (NSExtendedEnumerator)^/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:34:12: note: previous definition is here@interface NSEnumerator<ObjectType> : NSObject <NSFastEnumeration>^/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:40:37: error: method type specifier must start with '-' or '+'@interface NSEnumerator<ObjectType> (NSExtendedEnumerator)^/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:40:38: error: expected a type@interface NSEnumerator<ObjectType> (NSExtendedEnumerator)^/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:42:1: error: expected selector for Objective-C method@property (readonly, copy) NSArray<ObjectType> *allObjects;^/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:42:36: error: cannot find protocol declaration for 'ObjectType'@property (readonly, copy) NSArray<ObjectType> *allObjects;^In file included from /Applications/Monkey2-v1.1.07/modules/monkey/native/bbstring.mm:2:In file included from /Applications/Monkey2-v1.1.07/modules/monkey/native/bbstring.h:5:In file included from /Applications/Monkey2-v1.1.07/modules/monkey/native/bbtypes.h:5:In file included from /Applications/Monkey2-v1.1.07/modules/monkey/native/bbstd.h:6:In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:10:/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:16:32: error: cannot find protocol declaration for 'ObjectType'@interface NSArray<__covariant ObjectType> : NSObject <NSCopying, NSMutableCopying, NSSecureCoding, NSFastEnumeration>^/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:16:44: error: expected unqualified-id@interface NSArray<__covariant ObjectType> : NSObject <NSCopying, NSMutableCopying, NSSecureCoding, NSFastEnumeration>^/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:19:4: error: expected a type- (ObjectType)objectAtIndex:(NSUInteger)index;^/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:21:40: error: C++ requires a type specifier for all declarations- (instancetype)initWithObjects:(const ObjectType [])objects count:(NSUInteger)cnt NS_DESIGNATED_INITIALIZER;~~~~~~^~~~~~~~~~/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:21:40: error: expected ')'/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:21:33: note: to match this '('- (instancetype)initWithObjects:(const ObjectType [])objects count:(NSUInteger)cnt NS_DESIGNATED_INITIALIZER;^/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:26:20: error: cannot find protocol declaration for 'ObjectType'@interface NSArray<ObjectType> (NSExtendedArray)^/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:26:1: error: duplicate interface definition for class 'NSArray'@interface NSArray<ObjectType> (NSExtendedArray)^/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:16:12: note: previous definition is here@interface NSArray<__covariant ObjectType> : NSObject <NSCopying, NSMutableCopying, NSSecureCoding, NSFastEnumeration>^/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:26:32: error: method type specifier must start with '-' or '+'@interface NSArray<ObjectType> (NSExtendedArray)^fatal error: too many errors emitted, stopping now [-ferror-limit=]1 warning and 20 errors generated. - 
		AuthorPosts
 
		Viewing 2 posts - 1 through 2 (of 2 total)