Skip to content

Instantly share code, notes, and snippets.

@mpw
Created December 10, 2018 12:33
Show Gist options
  • Save mpw/f57de001e114c71327e78d63d06c923e to your computer and use it in GitHub Desktop.
Save mpw/f57de001e114c71327e78d63d06c923e to your computer and use it in GitHub Desktop.
clang GNUStep compilation difficulties
Compiling file Stores.subproj/MPWAbstractStore.m ...
Stores.subproj/MPWAbstractStore.m:60:50: error: array subscript is not an integer
id subDescription=descriptionDict[key];
^~~~
Stores.subproj/MPWAbstractStore.m:61:26: error: array subscript is not an integer
storeDict[key] = [self mapStore:subDescription];
^~~~
Stores.subproj/MPWAbstractStore.m:187:6: error: use of undeclared identifier '_name'
[_name release];
^
Stores.subproj/MPWAbstractStore.m:188:6: error: use of undeclared identifier '_errors'
[_errors release];
^
Stores.subproj/MPWAbstractStore.m:21:17: warning: property 'name' requires method 'name' to be defined - use @synthesize,
@dynamic or provide a method implementation in this class implementation [-Wobjc-property-implementation]
@implementation MPWAbstractStore
^
Stores.subproj/MPWAbstractStore.h:45:42: note: property declared here
@property (nonatomic, retain) NSString *name;
^
Stores.subproj/MPWAbstractStore.m:21:17: warning: property 'name' requires method 'setName:' to be defined - use @synthesize,
@dynamic or provide a method implementation in this class implementation [-Wobjc-property-implementation]
@implementation MPWAbstractStore
^
Stores.subproj/MPWAbstractStore.h:45:42: note: property declared here
@property (nonatomic, retain) NSString *name;
^
Stores.subproj/MPWAbstractStore.m:21:17: warning: property 'errors' requires method 'errors' to be defined - use @synthesize,
@dynamic or provide a method implementation in this class implementation [-Wobjc-property-implementation]
@implementation MPWAbstractStore
^
Stores.subproj/MPWAbstractStore.h:44:54: note: property declared here
@property (nonatomic, retain) NSObject <Streaming> *errors;
^
Stores.subproj/MPWAbstractStore.m:21:17: warning: property 'errors' requires method 'setErrors:' to be defined - use
@synthesize, @dynamic or provide a method implementation in this class implementation [-Wobjc-property-implementation]
@implementation MPWAbstractStore
^
Stores.subproj/MPWAbstractStore.h:44:54: note: property declared here
@property (nonatomic, retain) NSObject <Streaming> *errors;
^
4 warnings and 4 errors generated.
clang Stores.subproj/MPWAbstractStore.m -c \
-MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -Wno-import -fgnu-runtime -fconstant-string-class=NSConstantString -I.headers -I. -I.. -I~/Build/MPWFoundation/derived_src -I. -I/home/gnustep/GNUstep/Library/Headers -I/usr/local/include/GNUstep -I/usr/include/GNUstep -fgnu-runtime -I/C/GNUstep/System/Headers -fconstant-string-class=NSConstantString \
-o /home/gnustep/Build/MPWFoundation/obj/libMPWFoundation.obj/Stores.subproj/MPWAbstractStore.m.o)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment