[distcc] distcc-2.9 on IRIX

Dimitri Papadopoulos-Orfanos papadopo at shfj.DECOY.cea.NOSPAM.fr
Mon Jul 21 10:10:25 GMT 2003


Hi,

distcc-2.9 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 = 158
   Argument of type "unsigned int *" is incompatible with parameter of type
           "int *".

                                     cpp_pid, host, status)) != 0) {
                                                    ^

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

       ret = dcc_build_somewhere(argv, sg_level, status);
                                                 ^



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

       ret = dcc_send_job_corked(to_net_fd, argv, cpp_pid, status, 
cpp_fname,
                                                           ^

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

           ret = dcc_retrieve_results(from_net_fd, status, output_fname,
                                                   ^

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

           dcc_collect_child("ssh", ssh_pid, &ssh_status); /* ignore 
failure */
                                             ^



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

       int ret;
           ^



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

       int ret = 0;
           ^



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 = 81
   Non-void function "dcc_exit" (declared at line 58) 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-1164 cc: WARNING File = src/exec.c, Line = 295
   Argument of type "unsigned int *" is incompatible with parameter of type
           "int *".

           if ((ret_pid = sys_wait4(pid, wait_status, 0, &ru)) != -1) {
                                         ^



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

       int ret;
           ^



cc-1552 cc: WARNING File = src/filename.c, Line = 271
   The variable "l" is set but never used.

       int l;
           ^



cc-1185 cc: WARNING File = src/lock.c, Line = 84
   An enumerated type is mixed with another type.

       1,                          /* protocol (ignored) */
       ^



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


Regards,
Dimitri




More information about the distcc mailing list