Le 21 mai 2010 à 08:55, Kjell Øyvind Konstali a écrit :

> Hello, continuing to trying to build Etoile, getting a step further  
> every time.
> This is with GNUstep r30437 and Etoile r6122
>
> It fails at AddressKit
>
> [snip]
> ADPListConverter.m:83:15: error: multiple methods named 'count' found
>          for(i=0; i<[val count]; i++)
>                     ^~~~~~~~~~~
> In file included from ADPListConverter.m:16:
> In file included from
> /home/kpropell/Source/Etoile/Frameworks/AddressesKit/Frameworks/ 
> Addresses/ADPListConverter.h:16:
> In file included from
> /home/kpropell/Source/Etoile/Frameworks/AddressesKit/Frameworks/ 
> Addresses/Addresses/ADConverter.h:16:
> In file included from
> /usr/GNUstep/Local/Library/Headers/Foundation/Foundation.h:41:
> /usr/GNUstep/Local/Library/Headers/Foundation/NSArray.h:57:1: note:  
> using
> - (NSUInteger) count;                                           //  
> Primitive
> ^~~~~~~~~~~~~~~~~~~~~
> In file included from ADPListConverter.m:20:
> /home/kpropell/Source/Etoile/Frameworks/AddressesKit/Frameworks/ 
> Addresses/ADMultiValue.h:28:1:
> note:
>      also found
> - (unsigned int) count;
> ^~~~~~~~~~~~~~~~~~~~~~~
> 1 error generated.

I adjusted all -count occurences in our frameworks to use NSUInteger  
as return type, so this should help to get further in the compilation.
If someone has a better way to handle that, let me know.

Cheers,
Quentin.


_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à