Hi,

distcc-2.8 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 = 153
  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 = 200
  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 = 156
  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 = 185 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-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 = 193
Non-void function "dcc_inside_child" (declared at line 174) should return a
value.


  }
  ^

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


  }
  ^

cc-1164 cc: WARNING File = src/exec.c, Line = 294
  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/filename.c, Line = 265
  The variable "l" is set but never used.

      int l;
          ^



cc-1164 cc: WARNING File = src/daemon.c, Line = 246
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


__ distcc mailing list http://distcc.samba.org/
To unsubscribe or change options: http://lists.samba.org/cgi-bin/mailman/listinfo/distcc

Reply via email to