On 22.05.2011 01:50, Germán Arias wrote:
Compiling GUI with gcc 4.6.0 I get the error:
Making all for tool say...
Compiling file say.m ...
say.m: In function 'main':
say.m:17:12: error: defines the variable 'outfile' but not used
[-Werror=unused-but-set-variable]
cc1obj:
all warnings are treated as errors
make[5]: *** [obj/say.obj/say.m.o] Error 1
make[4]: *** [internal-tool-all_] Error 2
make[3]: *** [say.all.tool.variables] Error 2
make[2]: *** [internal-all] Error 2
make[1]: *** [internal-all] Error 2
make: *** [internal-all] Error 2
There are to angles to this problem. One is of course that, as gcc
reports, we have an unused variable in our code, which we should safely
remove. The other is that gcc treats warnings as errors and fails
because of this. I don't think that this is the standard even for gcc
4.6. You should find out where this is set and remove that setting.
_______________________________________________
Gnustep-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnustep-dev