GwenNelson / distcc

Automatically exported from code.google.com/p/distcc
GNU General Public License v2.0
0 stars 0 forks source link

distcc build fail in filename.c #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Building distcc-3.0rc2 fails on i686-pc-linux-gnu with GCC 4.2.3.

Configure with:
CFLAGS="-O3" ../distcc-3.0rc2/configure --prefix=/usr --sysconfdir=/etc
--with-docdir=/usr/doc/distcc-3.0rc2 --with-included-popt --with-gtk
--without-gnome

Console output:

gcc -DHAVE_CONFIG_H -D_GNU_SOURCE -DSYSCONFDIR="\"/etc\""
-DPKGDATADIR="\"/usr/share/distcc\"" -Isrc -I"../distcc-3.0rc2/src"
-I"../distcc-3.0rc2/lzo" -I"../distcc-3.0rc2/popt" -Werror -O3 -MD -W -Wall
-Wimplicit -Wuninitialized -Wshadow -Wpointer-arith -Wcast-align
-Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes
-Wnested-externs -Wmissing-declarations -pthread -o src/help.o -c
../distcc-3.0rc2/src/help.c
gcc -DHAVE_CONFIG_H -D_GNU_SOURCE -DSYSCONFDIR="\"/etc\""
-DPKGDATADIR="\"/usr/share/distcc\"" -Isrc -I"../distcc-3.0rc2/src"
-I"../distcc-3.0rc2/lzo" -I"../distcc-3.0rc2/popt" -Werror -O3  -MD -W
-Wall -Wimplicit -Wuninitialized -Wshadow -Wpointer-arith -Wcast-align
-Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes
-Wnested-externs -Wmissing-declarations -pthread -o src/filename.o -c
../distcc-3.0rc2/src/filename.c
cc1: warnings being treated as errors
../distcc-3.0rc2/src/filename.c: In function 'dcc_is_object':
../distcc-3.0rc2/src/filename.c:263: warning: passing argument 1 of
'dcc_find_extension' discards qualifiers from pointer target type
make: *** [src/filename.o] Error 1

Original issue reported on code.google.com by caffe...@m13.alpha-net.ne.jp on 30 Jun 2008 at 1:41

GoogleCodeExporter commented 9 years ago
This is a duplicate of issue 10 
<http://code.google.com/p/distcc/issues/detail?id=10>.

Original comment by fergus.h...@gmail.com on 30 Jun 2008 at 4:54