discuss-gnustep
[Top][All Lists]
Advanced

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

Re: GDL2 compilation errors


From: Edwin Ancaer
Subject: Re: GDL2 compilation errors
Date: Thu, 30 Apr 2015 17:31:32 +0200

David,
 
indeed, it is working now. Thanks.

I've got a new problem now:

../EOControl/EOQualifier.h:239:12: error: cannot define category for undefined
      class 'NSArray'
@interface NSArray (EOQualifierExtras)

There is indeed a category definition at the end of the file EOQualifier.h, on the class NSArray.

NSArray is declared with a forward declaration @Class NSArray. Is this the cause?

Kind regards,

Edwin Ancaer


2015-04-30 15:57 GMT+02:00 David Chisnall <theraven@sucs.org>:
On 30 Apr 2015, at 14:42, Edwin Ancaer <eancaer@gmail.com> wrote:
>
> EOGenericRecord.m:1526:19: error: incomplete definition of type
>       'struct objc_class'
>   size = selfClass->instance_size;
>
> EOGenericRecord.m:1622:26: error: incomplete definition of type
>       'struct objc_class'
>       size += objectClass->instance_size;
>
> Can someone point me in the right direction?

These are relatively easy to fix.  class_getInstanceSize() will return the correct value.

David



--
This email complies with ISO 3103



reply via email to

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