[distcc] distcc-2.9 on Solaris

Dimitri Papadopoulos-Orfanos papadopo at shfj.DECOY.cea.NOSPAM.fr
Mon Jul 21 09:57:33 GMT 2003


Hi,

distcc-2.9 builds just fine on Solaris 8 using Sun's Forte 7 compiler,
except for a few warnings:


"src/compile.c", line 158: warning: argument #7 is incompatible with 
prototype:
	prototype: pointer to int : "src/compile.h", line 24
	argument : pointer to unsigned int
"src/compile.c", line 205: warning: argument #3 is incompatible with 
prototype:
	prototype: pointer to unsigned int : "src/compile.c", line 114
	argument : pointer to int

"src/remote.c", line 156: warning: argument #4 is incompatible with 
prototype:
	prototype: pointer to unsigned int : "src/distcc.h", line 120
	argument : pointer to int
"src/remote.c", line 173: warning: argument #2 is incompatible with 
prototype:
	prototype: pointer to unsigned int : "src/distcc.h", line 127
	argument : pointer to int
"src/remote.c", line 186: warning: argument #3 is incompatible with 
prototype:
	prototype: pointer to unsigned int : "src/exec.h", line 31
	argument : pointer to int

"src/arg.c", line 335: warning: implicit function declaration: asprintf

"src/compress.c", line 168: warning: argument #1 is incompatible with 
prototype:
	prototype: pointer to const unsigned char : "./lzo/minilzo.h", line 78
	argument : pointer to const char
"src/compress.c", line 168: warning: argument #3 is incompatible with 
prototype:
	prototype: pointer to unsigned char : "./lzo/minilzo.h", line 78
	argument : pointer to char
"src/compress.c", line 270: warning: argument #1 is incompatible with 
prototype:
	prototype: pointer to const unsigned char : "./lzo/minilzo.h", line 84
	argument : pointer to char
"src/compress.c", line 270: warning: argument #3 is incompatible with 
prototype:
	prototype: pointer to unsigned char : "./lzo/minilzo.h", line 84
	argument : pointer to char

"src/exec.c", line 295: warning: argument #2 is incompatible with prototype:
	prototype: pointer to int : "src/exec.c", line 264
	argument : pointer to unsigned int

"lzo/minilzo.c", line 1173: warning: integer overflow detected: op "<<"
"lzo/minilzo.c", line 2190: warning: loop not entered at top
"lzo/minilzo.c", line 2682: warning: loop not entered at top


It would be nice to fix at least the asprintf issue.

Regards,
Dimitri





More information about the distcc mailing list