Hi Andreas,

Le 19 déc. 08 à 14:55, Andreas Höschler a écrit :

> since
>
>       cd /usr/src/Etoile
>       make
>
> did not work on my Solaris box, I went into the subdirs
>
>       cd /usr/src/Etoile/Frameworks/EtoileFoundation/EtoileThread
>       make
>
> -bash-3.00# make
> /bin/sh: syntax error at line 1: `end of file' unexpected
> make: *** [before-all] Error 2

Do you get this error only with Étoilé projects and not other projects  
which are also built with gnustep-make?

> Build Project: EtoileThread
>
> [snip]
> method
> ETThread.m:102: warning: local declaration of `thread' hides instance
> variable
> make[1]: *** [obj/ETThread.m.o] Error 1
> make: *** [EtoileThread.all.framework.variables] Error 2
>
> This still leaves me clueless. Help is appreciated!

Looks like the problem is that ivars are exposed in the scope of class  
methods as explained here: 
http://gcc.gnu.org/ml/gcc-patches/2004-10/msg02552.html
Changing line 87 of ETThread.m to use another local variable name  
should fix the problem. For example:
        ETThread *newThread = [[ETThread alloc] init];

I still don't understand why we don't get this warning on other  
platforms… What's your GCC version?

Cheers,
Quentin.


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

Répondre à