On Fri, Mar 05, 2010 at 12:32:25PM +0100, Quentin Mathé wrote:
> I can reproduce the problem, but I don't understand what's going on :-(
> In my case, I'm using GCC 4.3.3 + libobjc1 + today GNUstep svn trunk.
> David, any idea?

So can I (clang + libobjc2 + GNUstep trunk). But I'm equally puzzled by
this. At least, clang produces slightly more decipherable error messages:

> NSObject+Prototypes.m:343:31: error: member reference type 'Method_t' (aka 
> 'struct objc_method *') is a pointer; maybe you meant to use '->'? 
>        defaultMethods.method_list[0].method_name = sel;
>        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
(And so on…)

Oddly the defaultMethods structure doesn't declare method_list as
Method_t but as Method. Also note that the assignment of the method_list
members doesn't fail for the defaultClassMethods global.
*scratches head*

Niels

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

Reply via email to