<URL: http://bugs.freeciv.org/Ticket/Display.html?id=33568 >
Freeciv S2_1 r12467
GCC 4.1.1 20061011
Compilation of any client breaks on my machine with:
cc1: warnings being treated as errors
client/servers.c: In function ‘meta_read_response’:
client/servers.c:383: warning: ignoring return value of ‘fwrite’,
declared with attribute warn_unused_result
make[3]: *** [servers.o] Error 1
Line is:
if (fwrite(buf, 1, result, scan->meta.fp) < 0) {
so I can't decide is this freeciv problem or gcc.
--
Thanks, evyscr
pgp84GaqXGEFp.pgp
Description: PGP signature
_______________________________________________ Freeciv-dev mailing list [email protected] https://mail.gna.org/listinfo/freeciv-dev
