[distcc] compile error in latest trunk

Noel Grandin noel at peralex.com
Thu Apr 5 03:57:33 MDT 2012


Hi

I'm getting a compile error on the latest source code.

This is on:
Linux ubuntu 3.0.0-17-generic #30-Ubuntu SMP Thu Mar 8 20:45:39 UTC 2012 
x86_64 x86_64 x86_64 GNU/Linux

Thanks, Noel Grandin


gcc -DHAVE_CONFIG_H -D_GNU_SOURCE -DSYSCONFDIR="\"/usr/local/etc\"" 
-DPKGDATADIR="\"/usr/local/share/distcc\"" -Isrc -I"./src" -I"./lzo" 
-I"./popt" -Werror -g -O2 -MD -W -Wall -Wimplicit -Wshadow 
-Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return 
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs 
-Wmissing-declarations -Wuninitialized -D_REENTRANT -pthread -o 
src/lsdistcc.o -c src/lsdistcc.c
src/lsdistcc.c: In function ‘one_poll_loop’:
src/lsdistcc.c:671:9: error: variable ‘nready’ set but not used 
[-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors

make: *** [src/lsdistcc.o] Error 1


Disclaimer: http://www.peralex.com/disclaimer.html




More information about the distcc mailing list