[distcc] distcc-2.11.2 on IRIX
Dimitri Papadopoulos-Orfanos
papadopo at shfj.DECOY.cea.NOSPAM.fr
Fri Oct 24 12:21:50 GMT 2003
Hi,
distcc-2.11.2 builds justfine on IRIX 6.5.18 using SGI's MIPSpro 7.3.1.3
compiler, except for a few warnings you may want to fix.
By the way, about the accept() argument type (int, size_t, or socklen_t)
issue I had already reported in a previous post, an autoconf macro is
available after all. See:
http://www.gnu.org/software/ac-archive/htmldoc/ac_prototype_accept.html
http://www.gnu.org/software/ac-archive/htmldoc/ac_func_accept_argtypes.html
It would be better to fix this specific issue, as I think it could break
64-bit builds where the type of the argument is actually important.
cc-1552 cc: WARNING File = src/clinet.c, Line = 88
The variable "ret" is set but never used.
int ret;
^
cc-1552 cc: WARNING File = src/state.c, Line = 163
The variable "ret" is set but never used.
int ret;
^
cc-1116 cc: WARNING File = src/exec.c, Line = 261
Non-void function "dcc_spawn_child" (declared at line 240) should
return a
value.
}
^
cc-1116 cc: WARNING File = src/pump.c, Line = 162
Non-void function "dcc_r_bulk" (declared at line 147) should return a
value.
}
^
cc-1164 cc: WARNING File = src/daemon.c, Line = 277
Argument of type "socklen_t *" is incompatible with parameter of type
"int *".
if ((getpeername(STDIN_FILENO, psa, &len) == -1)) {
^
cc-1116 cc: WARNING File = src/dparent.c, Line = 150
Non-void function "dcc_standalone_server" (declared at line 96)
should return
a value.
}
^
cc-1164 cc: WARNING File = src/dparent.c, Line = 241
Argument of type "socklen_t *" is incompatible with parameter of type
"int *".
acc_fd = accept(listen_fd, &cli_addr, &cli_len);
^
cc-1164 cc: WARNING File = src/dparent.c, Line = 278
Argument of type "socklen_t *" is incompatible with parameter of type
"int *".
acc_fd = accept(listen_fd, &cli_addr, &cli_len);
^
cc-1164 cc: WARNING File = src/prefork.c, Line = 133
Argument of type "socklen_t *" is incompatible with parameter of type
"int *".
acc_fd = accept(listen_fd, &cli_addr, &cli_len);
^
--
Dimitri
More information about the distcc
mailing list