URL:
<http://savannah.gnu.org/bugs/?33732>
Summary: Cannot compile NSObject.m: reference to internal
Class structure invalid in GC mode
Project: GNUstep
Submitted by: carmstrong
Submitted on: Sat 09 Jul 2011 04:19:30 AM GMT
Category: Base/Foundation
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
I'm getting the following when compiling gnustep-base in GC mode:
Making all for library libgnustep-base...
Compiling file NSObject.m ...
NSObject.m:703:29: error: incomplete definition of type 'struct objc_class'
gc_type = (GC_descr)aClass->gc_object_type;
~~~~~~^
/GNUstep/Local/Library/Headers/objc/runtime.h:68:16: note: forward declaration
of 'struct objc_class'
typedef struct objc_class *Class;
^
1 error generated.
I'm using libobjc2 trunk (with boehm_gc=yes) and base trunk.
I configured make with:
CC=clang ./configure --with-layout=gnustep --prefix=/GNUstep
--enable-debug-by-default --enable-objc-garbage-collection
I'm not sure how to fix this myself.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?33732>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnustep