[distcc] distcc-2.12 on IRIX

Martin Pool mbp at sourcefrog.net
Fri Jan 9 01:24:03 GMT 2004


On 19 Dec 2003 Dimitri Papadopoulos-Orfanos
<papadopo at shfj.DECOY.cea.NOSPAM.fr> wrote:

> Hi,
> 
> distcc-2.12 builds just fine on IRIX 6.5.18 using SGI's MIPSpro
> 7.3.1.3 compiler, except for a few warnings you may want to fix.

Thanks, I fixed the ones that seemed substantial.

> 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.

Are there any such platforms that don't already have a socklen_t?

>From a bit more reading it looks like we should actually define
socklen_t to int if it's not defined, rather than size_t.  According
to some documentation the size arguments were int * on most old
systems.

-- 
Martin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/distcc/attachments/20040109/dc7638e1/attachment.bin


More information about the distcc mailing list