On 5 Mar 2010, at 16:14, Niels Grewe wrote:

> On Fri, Mar 05, 2010 at 04:01:19PM +0000, David Chisnall wrote:
>> This is part of the fallout from GNUstep's change to using the new ObjC 
>> runtime APIs.  I think the quick fix is to #define the thing from runtime.h 
>> that tells it to use the legacy APIs before the first #include / #import in 
>> that file.
> 
> Won't do (I tried). There is nary a (relevant) API call in sight and the
> definitions of struct objc_method and struct objc_method_ist have not
> changed between the old and the new API.

Yes they have.  They are no longer exposed with the new APIs - they are private 
to the runtime, which is why you need to make the changes.

You must make the define to prevent the runtime.h include in GNUstep from 
defining conflicting types, then you must #include objc.h and / or objc-api.h, 
to supply the definitions, because these files are no longer included by the 
GNUstep headers by default.

David

-- Sent from my Apple II


_______________________________________________
Etoile-dev mailing list
Etoile-dev@gna.org
https://mail.gna.org/listinfo/etoile-dev

Reply via email to