bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #33732] Cannot compile NSObject.m: reference to internal Class stru


From: Chris Armstrong
Subject: [bug #33732] Cannot compile NSObject.m: reference to internal Class structure invalid in GC mode
Date: Sat, 09 Jul 2011 04:19:31 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]