[distcc] distcc-2.10.1 on IRIX

Dimitri Papadopoulos-Orfanos papadopo at shfj.DECOY.cea.NOSPAM.fr
Mon Aug 18 09:36:52 GMT 2003


Hi,

distcc-2.10.1 builds just fine on IRIX 6.5.18 using SGI's MIPSpro 
7.3.1.3 compiler, except for a few warnings:



cc-1552 cc: WARNING File = src/clinet.c, Line = 88
   The variable "ret" is set but never used.

       int ret;
           ^



cc-1164 cc: WARNING File = src/compile.c, Line = 85
   Argument of type "unsigned int *" is incompatible with parameter of type
           "int *".

       if ((ret = dcc_collect_child("cc", pid, &status)))
                                               ^



cc-1552 cc: WARNING File = src/state.c, Line = 145
   The variable "ret" is set but never used.

       int ret;
           ^



cc-1164 cc: WARNING File = src/compress.c, Line = 168
   Argument of type "const char *" is incompatible with parameter of type
           "const unsigned char *".

       lzo_ret = lzo1x_1_compress(in_buf, in_len, out_buf, &out_len, 
work_mem);
                                  ^

cc-1164 cc: WARNING File = src/compress.c, Line = 168
   Argument of type "char *" is incompatible with parameter of type
           "unsigned char *".

       lzo_ret = lzo1x_1_compress(in_buf, in_len, out_buf, &out_len, 
work_mem);
                                                  ^

cc-1164 cc: WARNING File = src/compress.c, Line = 270
   Argument of type "char *" is incompatible with parameter of type
           "const unsigned char *".

       lzo_ret = lzo1x_decompress(in_buf, in_len, out_buf, &out_len, 
work_mem);
                                  ^

cc-1164 cc: WARNING File = src/compress.c, Line = 270
   Argument of type "char *" is incompatible with parameter of type
           "unsigned char *".

       lzo_ret = lzo1x_decompress(in_buf, in_len, out_buf, &out_len, 
work_mem);
                                                  ^



cc-1116 cc: WARNING File = src/util.c, Line = 80
   Non-void function "dcc_exit" (declared at line 57) should return a value.

   }
   ^



cc-1116 cc: WARNING File = src/exec.c, Line = 194
   Non-void function "dcc_inside_child" (declared at line 175) should 
return a
           value.

   }
   ^

cc-1116 cc: WARNING File = src/exec.c, Line = 249
   Non-void function "dcc_spawn_child" (declared at line 228) 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-1552 cc: WARNING File = lzo/minilzo.c, Line = 1170
   The variable "u" is set but never used.

       } u;
         ^



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/dopt.c, Line = 240
   Non-void function "distccd_parse_options" (declared at line 163) 
should return
           a value.

   }
   ^


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-1174 cc: WARNING File = src/dparent.c, Line = 159
   The variable "severity" was declared but never referenced.

           int severity = sig == SIGTERM ? RS_LOG_INFO : RS_LOG_ERR;
               ^

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 = 277
   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);
                                                     ^



cc-1552 cc: WARNING File = src/serve.c, Line = 193
   The variable "newpath" is set but never used.

       const char *envpath, *newpath, *p, *n;
                             ^

cc-1164 cc: WARNING File = src/serve.c, Line = 306
   Argument of type "unsigned int *" is incompatible with parameter of type
           "int *".

           || (compile_ret = dcc_collect_child("cc", cc_pid, &status))) {
                                                             ^



Regards,
Dimitri




More information about the distcc mailing list